Class Entity
- Direct Known Subclasses:
- Container,- GeographicLocation,- RolePlayer
Java class for Entity complex type.
The following schema fragment specifies the expected content contained within this class.
 <complexType name="Entity">
 <complexContent>
 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 <sequence>
 <element name="identifier" type="{http://www.ibm.com/websphere/wim}IdentifierType" minOccurs="0"/>
 <element name="viewIdentifiers" type="{http://www.ibm.com/websphere/wim}ViewIdentifierType" maxOccurs="unbounded" minOccurs="0"/>
 <element ref="{http://www.ibm.com/websphere/wim}parent" minOccurs="0"/>
 <element ref="{http://www.ibm.com/websphere/wim}children" maxOccurs="unbounded" minOccurs="0"/>
 <element ref="{http://www.ibm.com/websphere/wim}groups" maxOccurs="unbounded" minOccurs="0"/>
 <element ref="{http://www.ibm.com/websphere/wim}createTimestamp" minOccurs="0"/>
 <element ref="{http://www.ibm.com/websphere/wim}modifyTimestamp" minOccurs="0"/>
 <element name="entitlementInfo" type="{http://www.ibm.com/websphere/wim}EntitlementInfoType" minOccurs="0"/>
 <element name="changeType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 </sequence>
 </restriction>
 </complexContent>
 </complexType>
 
 The Entity object represents a VMM entity. All other entity types, like Person, Group, and OrgContainer are extended from this Entity object.
The Entity object has several properties: identifier, viewIdentifiers, entitlementInfo, and changeType, each of which are represented themselves by objects.
- identifier: contains a single IdentifierType object.
- viewIdentifiers: contains a list of ViewIdentifierType objects.
- parent: a containment property which is used to link to the parent of the entity in the VMM hierarchy. It only contains a single Entity object since an entity can only have one parent. Also, since any entity can be a parent of any entity, the object in the property is of Entity type.
- children: a containment property which is used to link to the children of the entity in the VMM hierarchy. It contains multiple Entity objects since an entity can have multiple children. Also, since any entity can be a child of another entity, the object in the property is of Entity type.
- groups: a containment property which is used to link to the groups this entity belongs to. It contains multiple Group objects since an entity can belong to multiple groups.
- createTimestamp: indicates when the Entity was created.
- modifyTimestamp: indicates when the Entity was last modified.
- changeType: indicates the operation being performed on this Entity: add, delete, modify or rename.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGets the value of the requested propertyGets the value of the changeType property.Gets the value of the children property.Gets the value of the createTimestamp property.getDataType(String propName) Gets the Java type of the value of the provided property.Gets the value of the entitlementInfo property.Gets the value of the groups property.Gets the value of the identifier property.Gets the value of the modifyTimestamp property.Gets the value of the parent property.static ListgetPropertyNames(String entityTypeName) Gets a list of all supported properties for this model object, Entitystatic HashSetgetSubEntityTypes(String entityTypeName) static HashSetGets a set of any model objects which extend this model object, EntityGets a list of any model objects which this model object, Entity, is an extension of.Gets the name of this model object, EntityGets the value of the viewIdentifiers property.booleanisMandatory(String propName) Returns true if the provided property is a mandatory property; false, otherwise.booleanisMultiValuedProperty(String propName) Return whether the specified property is a multi-valued property and capable of holding multiple values.booleanisPersistentProperty(String propName) Returns true if the provided property is a persistent property; false, otherwise.booleanReturns true if the requested property is set; false, otherwise.booleanReturns true if the changeType property is set; false, otherwise.booleanReturns true if the children property is set; false, otherwise.booleanReturns true if the createTimestamp property is set; false, otherwise.booleanReturns true if the entitlementInfo property is set; false, otherwise.booleanReturns true if the groups property is set; false, otherwise.booleanReturns true if the identifier property is set; false, otherwise.booleanReturns true if the modifyTimeStamp property is set; false, otherwise.booleanReturns true if the parent property is set; false, otherwise.booleanReturns true if the viewIdentifiers property is set; false, otherwise.booleanReturns a true if the provided model object is one that this model object extends; false, otherwise.booleanstatic voidvoidSets the value of the provided property to the provided value.voidsetChangeType(String value) Sets the value of the changeType property.voidsetCreateTimestamp(Date value) Sets the value of the createTimestamp property.voidSets the value of the entitlementInfo property.voidsetIdentifier(IdentifierType value) Sets the value of the identifier property.voidsetModifyTimestamp(Date value) Sets the value of the modifyTimestamp property.voidSets the value of the parent property.toString()Returns this model object, Entity, and its contents as a StringvoidSets the value of provided property to null.voidResets the children property to null.voidResets the groups property to null.voidResets the viewIdentifiers property to null.
- 
Constructor Details- 
Entitypublic Entity()
 
- 
- 
Method Details- 
getIdentifierGets the value of the identifier property.- Returns:
- possible object is IdentifierType
 
- 
setIdentifierSets the value of the identifier property.- Parameters:
- value- allowed object is- IdentifierType
 
- 
isSetIdentifierpublic boolean isSetIdentifier()Returns true if the identifier property is set; false, otherwise.- Returns:
- returned object is boolean
 
- 
getViewIdentifiersGets the value of the viewIdentifiers property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a setmethod for the viewIdentifiers property.For example, to add a new item, do as follows: getViewIdentifiers().add(newItem); Objects of the following type(s) are allowed in the list ViewIdentifierType
- 
isSetViewIdentifierspublic boolean isSetViewIdentifiers()Returns true if the viewIdentifiers property is set; false, otherwise.- Returns:
- returned object is boolean
 
- 
unsetViewIdentifierspublic void unsetViewIdentifiers()Resets the viewIdentifiers property to null.
- 
getParentGets the value of the parent property.- Returns:
- possible object is Entity
 
- 
setParentSets the value of the parent property.- Parameters:
- value- allowed object is- Entity
 
- 
isSetParentpublic boolean isSetParent()Returns true if the parent property is set; false, otherwise.- Returns:
- returned object is boolean
 
- 
getChildrenGets the value of the children property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a setmethod for the children property.For example, to add a new item, do as follows: getChildren().add(newItem); Objects of the following type(s) are allowed in the list Entity
- 
isSetChildrenpublic boolean isSetChildren()Returns true if the children property is set; false, otherwise.- Returns:
- returned object is boolean
 
- 
unsetChildrenpublic void unsetChildren()Resets the children property to null.
- 
getGroupsGets the value of the groups property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a setmethod for the groups property.For example, to add a new item, do as follows: getGroups().add(newItem); Objects of the following type(s) are allowed in the list Group
- 
isSetGroupspublic boolean isSetGroups()Returns true if the groups property is set; false, otherwise.- Returns:
- returned object is boolean
 
- 
unsetGroupspublic void unsetGroups()Resets the groups property to null.
- 
getCreateTimestampGets the value of the createTimestamp property.- Returns:
- possible object is Date
 
- 
setCreateTimestampSets the value of the createTimestamp property.- Parameters:
- value- allowed object is- Date
 
- 
isSetCreateTimestamppublic boolean isSetCreateTimestamp()Returns true if the createTimestamp property is set; false, otherwise.- Returns:
- returned object is boolean
 
- 
getModifyTimestampGets the value of the modifyTimestamp property.- Returns:
- possible object is Date
 
- 
setModifyTimestampSets the value of the modifyTimestamp property.- Parameters:
- value- allowed object is- Date
 
- 
isSetModifyTimestamppublic boolean isSetModifyTimestamp()Returns true if the modifyTimeStamp property is set; false, otherwise.- Returns:
- returned object is boolean
 
- 
getEntitlementInfoGets the value of the entitlementInfo property.- Returns:
- possible object is EntitlementInfoType
 
- 
setEntitlementInfoSets the value of the entitlementInfo property.- Parameters:
- value- allowed object is- EntitlementInfoType
 
- 
isSetEntitlementInfopublic boolean isSetEntitlementInfo()Returns true if the entitlementInfo property is set; false, otherwise.- Returns:
- returned object is boolean
 
- 
getChangeTypeGets the value of the changeType property.- Returns:
- possible object is String
 
- 
setChangeTypeSets the value of the changeType property.- Parameters:
- value- allowed object is- String
 
- 
isSetChangeTypepublic boolean isSetChangeType()Returns true if the changeType property is set; false, otherwise.- Returns:
- returned object is boolean
 
- 
getGets the value of the requested property
- 
isSetReturns true if the requested property is set; false, otherwise.- Returns:
- returned object is boolean
 
- 
setSets the value of the provided property to the provided value.
- 
unsetSets the value of provided property to null.- Parameters:
- propName- allowed object is- String
 
- 
getTypeNameGets the name of this model object, Entity- Returns:
- returned object is String
 
- 
isMandatoryReturns true if the provided property is a mandatory property; false, otherwise.- Returns:
- returned object is boolean
 
- 
isPersistentPropertyReturns true if the provided property is a persistent property; false, otherwise.- Returns:
- returned object is boolean
 
- 
reInitializePropertyNamespublic static void reInitializePropertyNames()
- 
getPropertyNamesGets a list of all supported properties for this model object, Entity
- 
getDataTypeGets the Java type of the value of the provided property. For example: String, List
- 
getSuperTypesGets a list of any model objects which this model object, Entity, is an extension of.- Returns:
- returned object is ArrayList
 
- 
isSubTypeReturns a true if the provided model object is one that this model object extends; false, otherwise.- Parameters:
- superTypeName- allowed object is- String
- Returns:
- returned object is boolean
 
- 
getSubEntityTypes
- 
getSubTypesGets a set of any model objects which extend this model object, Entity- Returns:
- returned object is HashSet
 
- 
toStringReturns this model object, Entity, and its contents as a String
- 
isUnset- Parameters:
- propertyName-
- Returns:
- returned object is boolean
 
- 
isMultiValuedPropertyReturn whether the specified property is a multi-valued property and capable of holding multiple values.- Parameters:
- propName- The property name to check.
- Returns:
- True if the property is multi-value, false otherwise.
 
 
-