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 Details

    • Container

      public Container()
  • Method Details

    • getCn

      public String getCn()
      Gets the value of the cn property.
      Returns:
      possible object is String
    • setCn

      public void setCn(String value)
      Sets the value of the cn property.
      Parameters:
      value - allowed object is String
    • isSetCn

      public boolean isSetCn()
      Returns true if the cn property is set; false, otherwise.
      Returns:
      returned object is boolean
    • get

      public Object get(String propName)
      Gets the value of the requested property
      Overrides:
      get in class Entity
      Parameters:
      propName - allowed object is String
      Returns:
      returned object is Object
    • isSet

      public boolean isSet(String propName)
      Returns true if the requested property is set; false, otherwise.
      Overrides:
      isSet in class Entity
      Returns:
      returned object is boolean
    • set

      public void set(String propName, Object value)
      Sets the value of the provided property to the provided value.
      Overrides:
      set in class Entity
      Parameters:
      propName - allowed object is String
      value - allowed object is Object
    • unset

      public void unset(String propName)
      Sets the value of provided property to null.
      Overrides:
      unset in class Entity
      Parameters:
      propName - allowed object is String
    • getTypeName

      public String getTypeName()
      Gets the name of this model object, Container
      Overrides:
      getTypeName in class Entity
      Returns:
      returned object is String
    • getPropertyNames

      public static List getPropertyNames(String entityTypeName)
      Gets a list of all supported properties for this model object, Container
      Parameters:
      entityTypeName - allowed object is String
      Returns:
      returned object is List
    • getDataType

      public String getDataType(String propName)
      Gets the Java type of the value of the provided property. For example: String, List
      Overrides:
      getDataType in class Entity
      Parameters:
      propName - allowed object is String
      Returns:
      returned object is String
    • getSuperTypes

      public ArrayList getSuperTypes()
      Gets a list of any model objects which this model object, Container, is an extension of.
      Overrides:
      getSuperTypes in class Entity
      Returns:
      returned object is ArrayList
    • isSubType

      public boolean isSubType(String superTypeName)
      Returns a true if the provided model object is one that this model object extends; false, otherwise.
      Overrides:
      isSubType in class Entity
      Parameters:
      superTypeName - allowed object is String
      Returns:
      returned object is boolean
    • getSubTypes

      public static HashSet getSubTypes()
      Gets a set of any model objects which extend this model object, Container
      Returns:
      returned object is HashSet
    • toString

      public String toString()
      Returns this model object, Container, and its contents as a String
      Overrides:
      toString in class Entity
      Returns:
      returned object is String