public class IltAttribute extends Object implements IlpAttribute
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
Compares two objects.
|
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()
Converts the object into a human-readable format.
|
public IltAttribute(String name, Class value, IlpAttributeGroup group)
name - Attribute name.value - Attribute value type.group - Attribute group that will contain this instance.IlpAttributeGrouppublic 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()@Deprecated 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)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.