Package com.ibm.wsspi.security.wim.model
Class Party
- java.lang.Object
-
- com.ibm.wsspi.security.wim.model.Entity
-
- com.ibm.wsspi.security.wim.model.RolePlayer
-
- com.ibm.wsspi.security.wim.model.Party
-
- Direct Known Subclasses:
Group
,LoginAccount
,OrgContainer
,Person
public class Party extends RolePlayer
Java class for Party complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Party"> <complexContent> <extension base="{http://www.ibm.com/websphere/wim}RolePlayer"> </extension> </complexContent> </complexType>
The Party object extends the RolePlayer object, and represents a Party which is extended by Person, Group, OrgContainer and LoginAccount.
-
-
Constructor Summary
Constructors Constructor Description Party()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
get(java.lang.String propName)
Gets the value of the requested propertyjava.lang.String
getDataType(java.lang.String propName)
Gets the Java type of the value of the provided property.static java.util.List
getPropertyNames(java.lang.String entityTypeName)
static java.util.HashSet
getSubTypes()
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, Entityboolean
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
isSubType(java.lang.String superTypeName)
Returns a true if the provided model object is one that this model object extends; false, otherwise.void
set(java.lang.String propName, java.lang.Object value)
Sets the value of the provided property to the provided value.java.lang.String
toString()
Returns this model object, Entity, and its contents as a Stringvoid
unset(java.lang.String propName)
Sets the value of provided property to null.-
Methods inherited from class com.ibm.wsspi.security.wim.model.RolePlayer
getPartyRoles, isMultiValuedProperty, isSetPartyRoles, unsetPartyRoles
-
Methods inherited from class com.ibm.wsspi.security.wim.model.Entity
getChangeType, getChildren, getCreateTimestamp, getEntitlementInfo, getGroups, getIdentifier, getModifyTimestamp, getParent, getSubEntityTypes, getViewIdentifiers, isSetChangeType, isSetChildren, isSetCreateTimestamp, isSetEntitlementInfo, isSetGroups, isSetIdentifier, isSetModifyTimestamp, isSetParent, isSetViewIdentifiers, isUnset, reInitializePropertyNames, setChangeType, setCreateTimestamp, setEntitlementInfo, setIdentifier, setModifyTimestamp, setParent, unsetChildren, unsetGroups, unsetViewIdentifiers
-
-
-
-
Method Detail
-
get
public java.lang.Object get(java.lang.String propName)
Description copied from class:Entity
Gets the value of the requested property- Overrides:
get
in classRolePlayer
- Parameters:
propName
- allowed object isString
- Returns:
- returned object is
Object
-
isSet
public boolean isSet(java.lang.String propName)
Description copied from class:Entity
Returns true if the requested property is set; false, otherwise.- Overrides:
isSet
in classRolePlayer
- Returns:
- returned object is
boolean
-
set
public void set(java.lang.String propName, java.lang.Object value)
Description copied from class:Entity
Sets the value of the provided property to the provided value.- Overrides:
set
in classRolePlayer
- Parameters:
propName
- allowed object isString
value
- allowed object isObject
-
unset
public void unset(java.lang.String propName)
Description copied from class:Entity
Sets the value of provided property to null.- Overrides:
unset
in classRolePlayer
- Parameters:
propName
- allowed object isString
-
getTypeName
public java.lang.String getTypeName()
Description copied from class:Entity
Gets the name of this model object, Entity- Overrides:
getTypeName
in classRolePlayer
- Returns:
- returned object is
String
-
isMandatory
public boolean isMandatory(java.lang.String propName)
Description copied from class:Entity
Returns true if the provided property is a mandatory property; false, otherwise.- Overrides:
isMandatory
in classRolePlayer
- Returns:
- returned object is
boolean
-
isPersistentProperty
public boolean isPersistentProperty(java.lang.String propName)
Description copied from class:Entity
Returns true if the provided property is a persistent property; false, otherwise.- Overrides:
isPersistentProperty
in classRolePlayer
- Returns:
- returned object is
boolean
-
getPropertyNames
public static java.util.List getPropertyNames(java.lang.String entityTypeName)
-
getDataType
public java.lang.String getDataType(java.lang.String propName)
Description copied from class:Entity
Gets the Java type of the value of the provided property. For example: String, List- Overrides:
getDataType
in classRolePlayer
- Parameters:
propName
- allowed object isString
- Returns:
- returned object is
String
-
getSuperTypes
public java.util.ArrayList getSuperTypes()
Description copied from class:Entity
Gets a list of any model objects which this model object, Entity, is an extension of.- Overrides:
getSuperTypes
in classRolePlayer
- Returns:
- returned object is
ArrayList
-
isSubType
public boolean isSubType(java.lang.String superTypeName)
Description copied from class:Entity
Returns a true if the provided model object is one that this model object extends; false, otherwise.- Overrides:
isSubType
in classRolePlayer
- Parameters:
superTypeName
- allowed object isString
- Returns:
- returned object is
boolean
-
getSubTypes
public static java.util.HashSet getSubTypes()
-
toString
public java.lang.String toString()
Description copied from class:Entity
Returns this model object, Entity, and its contents as a String- Overrides:
toString
in classRolePlayer
- Returns:
- returned object is
String
-
-