|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.hls.type.Type
public class Type
A Type
represents an object type defined in the system and contains metadata representing the state
maintained by instances of this type. Types are immutable, therefore the initialized state is not modifiable. It not
intended for these objects to be constructed, rather they should be retrieved using the TypeService
.
TypeService.getTypeByName(String)
,
TypeService.getTypes()
,
Serialized FormConstructor Summary | |
---|---|
Type(String name,
String displayName,
boolean isFileType,
List<AttributeDefinition> attributeDefinitions)
Initializing constructor which allocates a new Type and sets all attributes to the specified values. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Indicate whether some other object is "equal to" this one. |
List<AttributeDefinition> |
getAttributeDefinitions()
Returns the attribute definitions related to this object type. |
String |
getDisplayName()
Returns the display name of this object type. |
String |
getName()
Returns the name of this object type. |
int |
hashCode()
Return a hash code value for the object. |
boolean |
isFileType()
Returns whether or not this object type represents a file or not. |
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 Type(String name, String displayName, boolean isFileType, List<AttributeDefinition> attributeDefinitions)
Type
and sets all attributes to the specified values.
name
- The name of this object type.displayName
- The display name of this object typeisFileType
- If this object type represents a file objectattributeDefinitions
- The attribute definitions related to this object type. This list includes the
system-defined attribute definitions as well as the user-defined extended attribute definitions.Method Detail |
---|
public String getName()
public String getDisplayName()
public boolean isFileType()
true
if this object type is a file type, false
otherwise.public List<AttributeDefinition> getAttributeDefinitions()
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 |