|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.uci.isr.xarch.XArchTypeMetadata
| Field Summary | |
static int |
XARCH_CONTEXT
XARCH_CONTEXT indicates that this type metadata describes an xArch context. |
static int |
XARCH_ELEMENT
XARCH_ELEMENT indicates that this type metadata describes an xArch element. |
| Constructor Summary | |
XArchTypeMetadata(int type,
String packageName,
String typeName,
XArchTypeMetadata parent,
XArchPropertyMetadata[] properties,
XArchActionMetadata[] actions)
|
|
| Method Summary | |
boolean |
equals(Object o)
|
Iterator |
getActions()
Returns an iterator including all actions of this XARCH_CONTEXT object. |
Iterator |
getActions(int typeMask)
Returns an iterator including only actions of the specified type |
String |
getParentTypeName()
Returns the type name of the parent, or null if non exists. |
String |
getParentTypePackage()
Returns the abbreviated package name (context name) of the parent, or null if non exists. |
Iterator |
getProperties()
Returns an ordered iterator including all properties of this XARCH_ELEMENT object. |
Iterator |
getProperties(int typeMask)
Returns an ordered iterator including only properties of the specified type |
XArchPropertyMetadata |
getProperty(String name)
Returns metadata describing a given property of this XARCH_ELEMENT object, or null if such a property does not exist. |
List |
getPropertyList()
Returns a ordered list of all properties of this XARCH_ELEMENT object. |
int |
getType()
Returns the type of object that this metadata describes. |
String |
getTypeName()
Returns the type name used to create instances of this XARCH_ELEMENT from a context object. |
String |
getTypePackage()
Returns the abbreviated package name (context name). |
int |
hashCode()
|
boolean |
hasId()
Returns true if this is an XARCH_ELEMENT object and it has an Id attribute, false otherwise. |
boolean |
isXArch()
Returns true if this type represents the XArch type, false otherwise. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int XARCH_ELEMENT
XARCH_ELEMENT indicates that this type metadata describes an xArch element.
public static final int XARCH_CONTEXT
XARCH_CONTEXT indicates that this type metadata describes an xArch context.
| Constructor Detail |
public XArchTypeMetadata(int type,
String packageName,
String typeName,
XArchTypeMetadata parent,
XArchPropertyMetadata[] properties,
XArchActionMetadata[] actions)
| Method Detail |
public int getType()
XARCH_ELEMENT,
XARCH_CONTEXTpublic String getTypePackage()
null in the event that the XARCH_ELEMENT type being described has no abbreviated package name.
null.public String getTypeName()
public String getParentTypePackage()
null if non exists.
null.getTypePackage()public String getParentTypeName()
null if non exists.
null if non exists.getTypeName()public XArchPropertyMetadata getProperty(String name)
null if such a property does not exist.
name - the name of the property to find
public List getPropertyList()
public Iterator getProperties()
public Iterator getProperties(int typeMask)
typeMask - property types to include
public boolean hasId()
true if this is an XARCH_ELEMENT object and it has an Id attribute, false otherwise.
true if this is an XARCH_ELEMENT object and it has an Id attribute, false otherwisepublic boolean isXArch()
true if this type represents the XArch type, false otherwise.
true if this type represents the XArch type, false otherwise.public Iterator getActions()
public Iterator getActions(int typeMask)
typeMask - action types to include
public String toString()
public boolean equals(Object o)
public int hashCode()
|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||