|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.hls.type.AttributeDefinition
public class AttributeDefinition
Provides information about attributes defined on a Type
. Object types are defined by the system and provide
default attributes as well as extended attributes that can be defined by end-users.
Type.getAttributeDefinitions()
,
Serialized FormNested Class Summary | |
---|---|
static class |
AttributeDefinition.AttributeType
The enumeration of value types that an attribute can have. |
Constructor Summary | |
---|---|
AttributeDefinition(String name,
String displayName,
AttributeDefinition.AttributeType attributeType,
boolean inherited,
boolean editable,
boolean extended,
boolean required)
Initializing constructor which allocates a new AttributeDefinition and sets all attributes to the
specified values. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Indicate whether some other object is "equal to" this one. |
AttributeDefinition.AttributeType |
getAttributeType()
Returns the data type of this attribute definition. |
String |
getDisplayName()
Returns the display name of this attribute definition. |
String |
getName()
Returns the name of the attribute defined. |
int |
hashCode()
Return a hash code value for the object. |
boolean |
isEditable()
Returns the boolean value indicating if this attribute defined to be modifiable by an end user. |
boolean |
isExtended()
Returns whether or not this is an extended attribute (defined by an end-user), or an attribute defined by the system. |
boolean |
isInherited()
Returns whether or not this attribute definition was defined on a super type and therefore inherited or whether this definition was defined on the enclosing type. |
boolean |
isRequired()
Returns whether or not this attribute is required to have a value. |
String |
toString()
Return a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttributeDefinition(String name, String displayName, AttributeDefinition.AttributeType attributeType, boolean inherited, boolean editable, boolean extended, boolean required)
AttributeDefinition
and sets all attributes to the
specified values.
name
- The name of this attribute definition.displayName
- The display name of this attribute definition.attributeType
- The data type of the attribute represented by this attribute definition.inherited
- If this attribute definition was inherited from a super type.editable
- If the attribute represented by this attribute definition is editable by end-users.extended
- If this attribute definition was defined as an extended attribute.required
- If the attribute represented by this attribute definition is a required field.Method Detail |
---|
public String getName()
public String getDisplayName()
public AttributeDefinition.AttributeType getAttributeType()
public boolean isInherited()
true
if this attribute definition was inherited from a super type, false
otherwise.public boolean isEditable()
true
if this attribute can be modified by an end-user, false
otherwise.public boolean isExtended()
true
if this attribute definition was defined as an extended attribute by an end-user,
false
if the attribute definition is system-defined.public boolean isRequired()
true
if this attribute is required to have a value, false
otherwise.public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |