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, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

public abstract class ProtoStructureType
extends ExtensibleObjectType
implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

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
static javax.xml.namespace.QName COMPLEX_TYPE
           
protected  java.util.List<java.io.Serializable> containedObjectOrContainedObjectRef
           
static javax.xml.namespace.QName F_CONTAINED_OBJECT_OR_CONTAINED_OBJECT_REF
           
 
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ExtensibleObjectType
extension, F_EXTENSION
 
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ObjectType
description, F_DESCRIPTION, F_FETCH_RESULT, F_NAME, F_VERSION, fetchResult, name, oid, version
 
Constructor Summary
ProtoStructureType()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 java.util.List<java.io.Serializable> getContainedObjectOrContainedObjectRef()
          Gets the value of the containedObjectOrContainedObjectRef property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 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, getFetchResult, getName, getOid, getVersion, setDescription, setFetchResult, setName, setOid, setVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

containedObjectOrContainedObjectRef

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

COMPLEX_TYPE

public static final javax.xml.namespace.QName COMPLEX_TYPE

F_CONTAINED_OBJECT_OR_CONTAINED_OBJECT_REF

public static final javax.xml.namespace.QName F_CONTAINED_OBJECT_OR_CONTAINED_OBJECT_REF
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 ObjectType ObjectReferenceType


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

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
Overrides:
hashCode in class ExtensibleObjectType

hashCode

public int hashCode()
Overrides:
hashCode in class ExtensibleObjectType

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      java.lang.Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals
Overrides:
equals in class ExtensibleObjectType

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class ExtensibleObjectType


Copyright © 2012 evolveum. All Rights Reserved.