Class Root

java.lang.Object
com.ibm.wsspi.security.wim.model.Root

public class Root extends Object

Java class for Root complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Root">
 <complexContent>
 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 <sequence>
 <element name="contexts" type="{http://www.ibm.com/websphere/wim}Context" maxOccurs="unbounded" minOccurs="0"/>
 <element name="entities" type="{http://www.ibm.com/websphere/wim}Entity" maxOccurs="unbounded" minOccurs="0"/>
 <element name="controls" type="{http://www.ibm.com/websphere/wim}Control" maxOccurs="unbounded" minOccurs="0"/>
 </sequence>
 <attribute name="validated" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 </restriction>
 </complexContent>
 </complexType>
 

Root is an object and does not have any meaning other than its use as a container. It has several objects: contexts, entities, and controls, each of which are represented themselves by objects. The Root object can contain an unlimited number of each of these objects.

  • contexts: contains 0 to n Context objects. The Context object specifies the contextual information for the registry or repository call. Examples of such information include the realm or ip address to be used for the call.
  • entities: contains 0 to n Entity objects. Each entity object represents a VMM entity like Person or Group entity. It contains the actual data associated with the entity, like unique name, "uid" and "cn" attributes. Allowing for multiple entities to be specified in the Root object provides the capability of returning multiple Person or Group entries on a single get() API call, for example.
  • controls:: contains 0 to n Controls objects. The Control object is used for specifying the request information and response information for the call. For example, the property names to be returned for a get() API call can be specified in the PropertyControl object.
  • Constructor Details

    • Root

      public Root()
  • Method Details

    • getContexts

      public List<Context> getContexts()
      Gets the value of the contexts 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 set method for the contexts property.

      For example, to add a new item, do as follows:

       getContexts().add(newItem);
       

      Objects of the following type(s) are allowed in the list Context

    • isSetContexts

      public boolean isSetContexts()
    • unsetContexts

      public void unsetContexts()
    • getEntities

      public List<Entity> getEntities()
      Gets the value of the entities 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 set method for the entities property.

      For example, to add a new item, do as follows:

       getEntities().add(newItem);
       

      Objects of the following type(s) are allowed in the list Entity

    • isSetEntities

      public boolean isSetEntities()
    • unsetEntities

      public void unsetEntities()
    • getControls

      public List<Control> getControls()
      Gets the value of the controls 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 set method for the controls property.

      For example, to add a new item, do as follows:

       getControls().add(newItem);
       

      Objects of the following type(s) are allowed in the list Control

    • isSetControls

      public boolean isSetControls()
    • unsetControls

      public void unsetControls()
    • isValidated

      public boolean isValidated()
      Gets the value of the validated property.
      Returns:
      possible object is Boolean
    • setValidated

      public void setValidated(boolean value)
      Sets the value of the validated property.
      Parameters:
      value - allowed object is Boolean
    • isSetValidated

      public boolean isSetValidated()
    • unsetValidated

      public void unsetValidated()
    • get

      public Object get(String propName)
    • isSet

      public boolean isSet(String propName)
    • set

      public void set(String propName, Object value)
    • unset

      public void unset(String propName)
    • getTypeName

      public String getTypeName()
    • getPropertyNames

      public static List getPropertyNames(String entityTypeName)
    • getDataType

      public String getDataType(String propName)
    • getSuperTypes

      public ArrayList getSuperTypes()
    • isSubType

      public boolean isSubType(String superTypeName)
    • getSubTypes

      public static HashSet getSubTypes()
    • toString

      public String toString()
      Overrides:
      toString in class Object