Package com.ibm.wsspi.security.wim.model
Class Container
- java.lang.Object
-
- com.ibm.wsspi.security.wim.model.Entity
-
- com.ibm.wsspi.security.wim.model.Container
-
public class Container extends Entity
Java class for Container complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Container"> <complexContent> <extension base="{http://www.ibm.com/websphere/wim}Entity"> <sequence> <element ref="{http://www.ibm.com/websphere/wim}cn" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
The Container object represents a general container object, which is an object that contains other objects. It is designed for ease of integration with LDAP.
The Container object extends the Entity object and defines a single property: cn
- cn: defines the common name for this Container object.
-
-
Constructor Summary
Constructors Constructor Description Container()
-
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
getCn()
Gets the value of the cn property.java.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)
Gets a list of all supported properties for this model object, Containerstatic java.util.HashSet
getSubTypes()
Gets a set of any model objects which extend this model object, Containerjava.util.ArrayList
getSuperTypes()
Gets a list of any model objects which this model object, Container, is an extension of.java.lang.String
getTypeName()
Gets the name of this model object, Containerboolean
isSet(java.lang.String propName)
Returns true if the requested property is set; false, otherwise.boolean
isSetCn()
Returns true if the cn 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.void
setCn(java.lang.String value)
Sets the value of the cn property.java.lang.String
toString()
Returns this model object, Container, 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.Entity
getChangeType, getChildren, getCreateTimestamp, getEntitlementInfo, getGroups, getIdentifier, getModifyTimestamp, getParent, getSubEntityTypes, getViewIdentifiers, isMandatory, isMultiValuedProperty, isPersistentProperty, isSetChangeType, isSetChildren, isSetCreateTimestamp, isSetEntitlementInfo, isSetGroups, isSetIdentifier, isSetModifyTimestamp, isSetParent, isSetViewIdentifiers, isUnset, reInitializePropertyNames, setChangeType, setCreateTimestamp, setEntitlementInfo, setIdentifier, setModifyTimestamp, setParent, unsetChildren, unsetGroups, unsetViewIdentifiers
-
-
-
-
Method Detail
-
getCn
public java.lang.String getCn()
Gets the value of the cn property.- Returns:
- possible object is
String
-
setCn
public void setCn(java.lang.String value)
Sets the value of the cn property.- Parameters:
value
- allowed object isString
-
isSetCn
public boolean isSetCn()
Returns true if the cn property is set; false, otherwise.- Returns:
- returned object is
boolean
-
get
public java.lang.Object get(java.lang.String propName)
Gets the value of the requested property
-
isSet
public boolean isSet(java.lang.String propName)
Returns true if the requested property is set; false, otherwise.
-
set
public void set(java.lang.String propName, java.lang.Object value)
Sets the value of the provided property to the provided value.
-
unset
public void unset(java.lang.String propName)
Sets the value of provided property to null.
-
getTypeName
public java.lang.String getTypeName()
Gets the name of this model object, Container- Overrides:
getTypeName
in classEntity
- Returns:
- returned object is
String
-
getPropertyNames
public static java.util.List getPropertyNames(java.lang.String entityTypeName)
Gets a list of all supported properties for this model object, Container- Parameters:
entityTypeName
- allowed object isString
- Returns:
- returned object is
List
-
getDataType
public java.lang.String getDataType(java.lang.String propName)
Gets the Java type of the value of the provided property. For example: String, List- Overrides:
getDataType
in classEntity
- Parameters:
propName
- allowed object isString
- Returns:
- returned object is
String
-
getSuperTypes
public java.util.ArrayList getSuperTypes()
Gets a list of any model objects which this model object, Container, is an extension of.- Overrides:
getSuperTypes
in classEntity
- Returns:
- returned object is
ArrayList
-
isSubType
public boolean isSubType(java.lang.String superTypeName)
Returns a true if the provided model object is one that this model object extends; false, otherwise.
-
getSubTypes
public static java.util.HashSet getSubTypes()
Gets a set of any model objects which extend this model object, Container- Returns:
- returned object is
HashSet
-
-