|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.tgo.model.attribute.IltAttribute
public class IltAttribute
This class models an ILOG JTGO attribute.
| Constructor Summary | |
|---|---|
IltAttribute(String name,
Class value,
IlpAttributeGroup group)
Creates a new attribute with the given characteristics. |
|
IltAttribute(String name,
Class value,
IlpAttributeGroup group,
Object defaultValue)
Creates a new attribute with the given characteristics. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
IlpAttributeGroup |
getAttributeGroup()
Returns the attribute model that contains this attribute. |
Object |
getDefaultValue()
Returns the default value of the attribute. |
String |
getName()
Returns the name of the attribute. |
Class |
getValueClass()
Returns the value class of the attribute. |
boolean |
isTransient()
Indicates whether this attribute should persist or not. |
static IltAttribute |
New(String name,
Class value,
IlpAttributeGroup group)
Deprecated. Please use constructor instead. |
void |
setAttributeGroup(IlpAttributeGroup group)
Sets the attribute group that contains this attribute. |
void |
setDefaultValue(Object defValue)
Sets the default value of the attribute. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IltAttribute(String name,
Class value,
IlpAttributeGroup group)
name - Attribute name.value - Attribute value type.group - Attribute group that will contain this instance.IlpAttributeGroup
public IltAttribute(String name,
Class value,
IlpAttributeGroup group,
Object defaultValue)
name - Attribute name.value - Attribute value type.group - Attribute group that will contain this instance.defaultValue - Default value set in the business objects.
that contain this attributeIlpAttributeGroup,
IlpObject.initializeDefaultValues()| Method Detail |
|---|
public static IltAttribute New(String name,
Class value,
IlpAttributeGroup group)
public Object getDefaultValue()
getDefaultValue in interface IlpAttributeIlpDefaultObject.initializeDefaultValues(),
IlpDefaultObject.IlpDefaultObject(IlpClass, Object, boolean)public void setDefaultValue(Object defValue)
public String getName()
getName in interface IlpAttributepublic Class getValueClass()
getValueClass in interface IlpAttributepublic IlpAttributeGroup getAttributeGroup()
getAttributeGroup in interface IlpAttributepublic void setAttributeGroup(IlpAttributeGroup group)
setAttributeGroup in interface IlpAttributepublic boolean isTransient()
isTransient in interface IlpAttributetrue if the attribute is transient, that is, NOT persistent.public boolean equals(Object other)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||