public class Entity
extends java.lang.Object
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.
Constructor and Description |
---|
Entity() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(java.lang.String propName)
Gets the value of the requested property
|
java.lang.String |
getChangeType()
Gets the value of the changeType property.
|
java.util.List<Entity> |
getChildren()
Gets the value of the children property.
|
java.util.Date |
getCreateTimestamp()
Gets the value of the createTimestamp property.
|
java.lang.String |
getDataType(java.lang.String propName)
Gets the Java type of the value of the provided property.
|
EntitlementInfoType |
getEntitlementInfo()
Gets the value of the entitlementInfo property.
|
java.util.List<Group> |
getGroups()
Gets the value of the groups property.
|
IdentifierType |
getIdentifier()
Gets the value of the identifier property.
|
java.util.Date |
getModifyTimestamp()
Gets the value of the modifyTimestamp property.
|
Entity |
getParent()
Gets the value of the parent property.
|
static java.util.List |
getPropertyNames(java.lang.String entityTypeName)
Gets a list of all supported properties for this model object, Entity
|
static java.util.HashSet |
getSubEntityTypes(java.lang.String entityTypeName) |
static java.util.HashSet |
getSubTypes()
Gets a set of any model objects which extend this model object, Entity
|
java.util.ArrayList |
getSuperTypes()
Gets a list of any model objects which this model object, Entity, is
an extension of.
|
java.lang.String |
getTypeName()
Gets the name of this model object, Entity
|
java.util.List<ViewIdentifierType> |
getViewIdentifiers()
Gets the value of the viewIdentifiers property.
|
boolean |
isMandatory(java.lang.String propName)
Returns true if the provided property is a mandatory property; false, otherwise.
|
boolean |
isPersistentProperty(java.lang.String propName)
Returns true if the provided property is a persistent property; false, otherwise.
|
boolean |
isSet(java.lang.String propName)
Returns true if the requested property is set; false, otherwise.
|
boolean |
isSetChangeType()
Returns true if the changeType property is set; false, otherwise.
|
boolean |
isSetChildren()
Returns true if the children property is set; false, otherwise.
|
boolean |
isSetCreateTimestamp()
Returns true if the createTimestamp property is set; false, otherwise.
|
boolean |
isSetEntitlementInfo()
Returns true if the entitlementInfo property is set; false, otherwise.
|
boolean |
isSetGroups()
Returns true if the groups property is set; false, otherwise.
|
boolean |
isSetIdentifier()
Returns true if the identifier property is set; false, otherwise.
|
boolean |
isSetModifyTimestamp()
Returns true if the modifyTimeStamp property is set; false, otherwise.
|
boolean |
isSetParent()
Returns true if the parent property is set; false, otherwise.
|
boolean |
isSetViewIdentifiers()
Returns true if the viewIdentifiers property is set; false, otherwise.
|
boolean |
isSubType(java.lang.String superTypeName)
Returns a true if the provided model object is one that this
model object extends; false, otherwise.
|
boolean |
isUnset(java.lang.String propName) |
static void |
reInitializePropertyNames() |
void |
set(java.lang.String propName,
java.lang.Object value)
Sets the value of the provided property to the provided value.
|
void |
setChangeType(java.lang.String value)
Sets the value of the changeType property.
|
void |
setCreateTimestamp(java.util.Date value)
Sets the value of the createTimestamp property.
|
void |
setEntitlementInfo(EntitlementInfoType value)
Sets the value of the entitlementInfo property.
|
void |
setIdentifier(IdentifierType value)
Sets the value of the identifier property.
|
void |
setModifyTimestamp(java.util.Date value)
Sets the value of the modifyTimestamp property.
|
void |
setParent(Entity value)
Sets the value of the parent property.
|
java.lang.String |
toString()
Returns this model object, Entity, and its contents as a String
|
void |
unset(java.lang.String propName)
Sets the value of provided property to null.
|
void |
unsetChildren()
Resets the children property to null.
|
void |
unsetGroups()
Resets the groups property to null.
|
void |
unsetViewIdentifiers()
Resets the viewIdentifiers property to null.
|
public IdentifierType getIdentifier()
IdentifierType
public void setIdentifier(IdentifierType value)
value
- allowed object is IdentifierType
public boolean isSetIdentifier()
boolean
public java.util.List<ViewIdentifierType> getViewIdentifiers()
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 set
method 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
public boolean isSetViewIdentifiers()
boolean
public void unsetViewIdentifiers()
public Entity getParent()
Entity
public void setParent(Entity value)
value
- allowed object is Entity
public boolean isSetParent()
boolean
public java.util.List<Entity> getChildren()
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 set
method 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
public boolean isSetChildren()
boolean
public void unsetChildren()
public java.util.List<Group> getGroups()
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 set
method 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
public boolean isSetGroups()
boolean
public void unsetGroups()
public java.util.Date getCreateTimestamp()
Date
public void setCreateTimestamp(java.util.Date value)
value
- allowed object is Date
public boolean isSetCreateTimestamp()
boolean
public java.util.Date getModifyTimestamp()
Date
public void setModifyTimestamp(java.util.Date value)
value
- allowed object is Date
public boolean isSetModifyTimestamp()
boolean
public EntitlementInfoType getEntitlementInfo()
EntitlementInfoType
public void setEntitlementInfo(EntitlementInfoType value)
value
- allowed object is EntitlementInfoType
public boolean isSetEntitlementInfo()
boolean
public java.lang.String getChangeType()
String
public void setChangeType(java.lang.String value)
value
- allowed object is String
public boolean isSetChangeType()
boolean
public java.lang.Object get(java.lang.String propName)
propName
- allowed object is String
Object
public boolean isSet(java.lang.String propName)
boolean
public void set(java.lang.String propName, java.lang.Object value)
propName
- allowed object is String
value
- allowed object is Object
public void unset(java.lang.String propName)
propName
- allowed object is String
public java.lang.String getTypeName()
String
public boolean isMandatory(java.lang.String propName)
boolean
public boolean isPersistentProperty(java.lang.String propName)
boolean
public static void reInitializePropertyNames()
public static java.util.List getPropertyNames(java.lang.String entityTypeName)
entityTypeName
- allowed object is String
List
public java.lang.String getDataType(java.lang.String propName)
propName
- allowed object is String
String
public java.util.ArrayList getSuperTypes()
ArrayList
public boolean isSubType(java.lang.String superTypeName)
superTypeName
- allowed object is String
boolean
public static java.util.HashSet getSubEntityTypes(java.lang.String entityTypeName)
public static java.util.HashSet getSubTypes()
HashSet
public java.lang.String toString()
toString
in class java.lang.Object
String
public boolean isUnset(java.lang.String propName)
propertyName
- boolean