|
Enterprise Information Portal APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mm.beans.CMBEntity
This is a helper class for the CMBSchemaManagement bean. This class provides functions for retrieval of entity data including attributes, types, and sub entities.
CMBSchemaManagement
, Serialized FormMethod Summary | |
CMBAttribute |
getAttribute(java.lang.String attrName)
Gets a single attribute in this entity |
java.lang.String[] |
getAttributeNames()
Gets the names of this entity's attributes |
CMBAttribute[] |
getAttributes()
Gets the attribute objects for this entity |
short |
getAttributeType(java.lang.String attrName)
Gets the type of a single attribute in this entity |
short[] |
getAttributeTypes()
Gets the types of this entity's attributes |
short |
getClassification()
Gets the classification of the objects in this entity. |
java.lang.String |
getName()
Return the name of the entity |
java.lang.String |
getParentEntityName()
Return the name of the parent entity, or an empty string if there is none. |
java.lang.String[] |
getPartTypes()
|
int |
getPartTypeVersionPolicy()
Gets the value that controls the way versioning is performed. |
CMBEntity[] |
getSubEntities()
Get all the sub entities in this entity |
CMBAttribute |
getTextSearchAttribute()
Gets the attribute object for text seach on this entity. |
short |
getType()
Returns the entity type, 0 by default |
short |
getVersionControl()
Returns the version control of the entity |
boolean |
hasSubEntities()
Determines if this entity has sub entities. |
boolean |
isRoot()
Determines whether the entity describes a root component Only CM V8 has a distinction between root and non-root components. |
boolean |
isTextSearchable()
Determines whether the entity is text searchable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public boolean hasSubEntities() throws CMBException
public java.lang.String[] getAttributeNames() throws CMBNoConnectionException, CMBException
public short[] getAttributeTypes() throws CMBNoConnectionException, CMBException
public CMBAttribute[] getAttributes() throws CMBNoConnectionException, CMBException
public CMBAttribute getTextSearchAttribute() throws CMBNoConnectionException, CMBException
public short getClassification()
public CMBAttribute getAttribute(java.lang.String attrName) throws CMBNoConnectionException, CMBException
attrName
- the name of the desired attributepublic short getAttributeType(java.lang.String attrName) throws CMBNoConnectionException, CMBException
attrName
- the name of the desired attributepublic CMBEntity[] getSubEntities() throws CMBException
public java.lang.String getName()
public java.lang.String getParentEntityName()
public short getType()
public short getVersionControl()
CMBConnection.isVersioningEnabled()
public boolean isRoot()
public boolean isTextSearchable()
public java.lang.String[] getPartTypes() throws CMBException
public int getPartTypeVersionPolicy()
|
EIP JavaBeans | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |