|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.hls.common.AttributeDefinition
public class AttributeDefinition
A local representation of how an attribute is defined on an object.
Constructor Summary | |
---|---|
AttributeDefinition()
Zero-arg constructor for an AttributeDefinition. |
|
AttributeDefinition(String name)
Constructs an AttributeDefinition object which defines an attribute on an object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Indicate whether some other object is "equal to" this one. |
String |
getDisplayName()
Get the displayName value for this attribute definition. |
String |
getName()
Returns a String containing the name of the attribute defined. |
AttributeType |
getType()
Get the type of the value set on 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 definition or an attribute defined by the platform. |
boolean |
isRequired()
Returns whether or not this attribute is required to have a value. |
void |
setDisplayName(String displayName)
Set the displayName to be shown to end users for this attribute definition. |
void |
setEditable(boolean editable)
Set the indicator of whether or not this attribute value can be changed by an end user. |
void |
setExtended(boolean extended)
Set whether this attribute is user defined. |
void |
setName(String name)
Set the internal name of the attribute being defined. |
void |
setRequired(boolean required)
Set whether or not this attribute is required to have a value. |
void |
setType(AttributeType type)
Set the type of the value on the defined attribute. |
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()
public AttributeDefinition(String name)
name
- A String containing the (internal) name of the attribute being defined. Cannot be null.Method Detail |
---|
public void setName(String name)
name
- The internal name of the attribute being defined.public String getName()
public void setEditable(boolean editable)
editable
- Is this attribute defined to be modifiable by an end user?public boolean isEditable()
public boolean isExtended()
public void setExtended(boolean extended)
extended
- The boolean value indicating if this attribute is user defined.public boolean isRequired()
public void setRequired(boolean required)
required
- The boolean value indicating if this attribute is required to be set.public String getDisplayName()
public void setDisplayName(String displayName)
displayName
- the displayName to setpublic AttributeType getType()
public void setType(AttributeType type)
type
- the type to setpublic 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 |