com.evolveum.midpoint.xml.ns._public.common.common_1
Class ProtoStructureType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_1.ObjectType
      extended by com.evolveum.midpoint.xml.ns._public.common.common_1.ExtensibleObjectType
          extended by com.evolveum.midpoint.xml.ns._public.common.common_1.ProtoStructureType
All Implemented Interfaces:
java.io.Serializable

public abstract class ProtoStructureType
extends ExtensibleObjectType
implements java.io.Serializable

TODO Experimental object. MOST LIKELY WILL CHANGE. TODO: type??? Defines hierarchical objects - or more exactly nested. may contain other entitlements. Such a containing object, when assigned to user, is equivalent to the union of all contained objects (and objects contained in the contained objects, ad infinutum). There is no constrain that the containing and contained objects must be of the same type. Therefore it should be possible to create a "business role" that will contain a set of "IT roles" that specify access to resources and a set of "IDM roles" that gives user administrator privileges in midPoint system.

Java class for ProtoStructureType complex type.

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

 <complexType name="ProtoStructureType">
   <complexContent>
     <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ExtensibleObjectType">
       <sequence>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="containedObject" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ObjectType"/>
           <element name="containedObjectRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ObjectReferenceType"/>
         </choice>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<java.io.Serializable> containedObjectOrContainedObjectRef
           
 
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ExtensibleObjectType
extension
 
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ObjectType
description, name, oid, version
 
Constructor Summary
ProtoStructureType()
           
 
Method Summary
 java.util.List<java.io.Serializable> getContainedObjectOrContainedObjectRef()
          Gets the value of the containedObjectOrContainedObjectRef property.
 java.lang.String toString()
          Generates a String representation of the contents of this type.
 
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ExtensibleObjectType
getExtension, setExtension
 
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ObjectType
getDescription, getName, getOid, getVersion, setDescription, setName, setOid, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

containedObjectOrContainedObjectRef

protected java.util.List<java.io.Serializable> containedObjectOrContainedObjectRef
Constructor Detail

ProtoStructureType

public ProtoStructureType()
Method Detail

getContainedObjectOrContainedObjectRef

public java.util.List<java.io.Serializable> getContainedObjectOrContainedObjectRef()
Gets the value of the containedObjectOrContainedObjectRef 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 containedObjectOrContainedObjectRef property.

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

    getContainedObjectOrContainedObjectRef().add(newItem);
 

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


toString

public java.lang.String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin

Overrides:
toString in class ExtensibleObjectType


Copyright © 2011 evolveum. All Rights Reserved.