|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.model.IlpBeansAttribute
public class IlpBeansAttribute
This class models an attribute in the CPL model which represents a property in a Java Bean.
| Constructor Summary | |
|---|---|
IlpBeansAttribute(PropertyDescriptor propertyDescriptor,
IlpClass ilpClass)
Creates a new attribute to represent the given property. |
|
| Method Summary | |
|---|---|
IlpAttributeGroup |
getAttributeGroup()
Returns the attribute model where this attribute has been defined. |
Object |
getDefaultValue()
Returns null because there is no notion of default value for
IlpBeansAttribute instances. |
String |
getName()
Returns the name of the invoking attribute. |
PropertyDescriptor |
getPropertyDescriptor()
Returns the property descriptor with the information regarding the given class. |
Class |
getValueClass()
Returns the Java class of the attribute. |
boolean |
isTransient()
Indicates whether this attribute should persist or not. |
void |
setAttributeGroup(IlpAttributeGroup aModel)
Bean attributes can not be changed to other attribute groups. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlpBeansAttribute(PropertyDescriptor propertyDescriptor,
IlpClass ilpClass)
propertyDescriptor - Bean property descriptorilpClass - Business class| Method Detail |
|---|
public String getName()
getName in interface IlpAttributepublic Class getValueClass()
getValueClass in interface IlpAttributepublic Object getDefaultValue()
null because there is no notion of default value for
IlpBeansAttribute instances.
getDefaultValue in interface IlpAttributeIlpDefaultObject.initializeDefaultValues(),
IlpDefaultObject.IlpDefaultObject(IlpClass, Object, boolean)public IlpAttributeGroup getAttributeGroup()
getAttributeGroup in interface IlpAttributepublic void setAttributeGroup(IlpAttributeGroup aModel)
setAttributeGroup in interface IlpAttributepublic boolean isTransient()
isTransient in interface IlpAttributetrue if the attribute is transient, that is NOT persistent.
For an IlpBeansAttribute, the attribute is transient if it
has no write method.public PropertyDescriptor getPropertyDescriptor()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||