com.evolveum.midpoint.xml.ns._public.common.common_2a
Class ResourceObjectClassTypeDefinitionType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_2a.ResourceObjectClassTypeDefinitionType
All Implemented Interfaces:
Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Direct Known Subclasses:
ResourceAccountTypeDefinitionType, ResourceEntitlementTypeDefinitionType

public abstract class ResourceObjectClassTypeDefinitionType
extends Object
implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

Defines a type from the resource schema (object class) that can be used for creating accounts, entitlements and possible other concepts. This is abstract supertype for other types.

Java class for ResourceObjectClassTypeDefinitionType complex type.

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

 <complexType name="ResourceObjectClassTypeDefinitionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}displayName" minOccurs="0"/>
         <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}description" minOccurs="0"/>
         <element name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="objectClass" type="{http://www.w3.org/2001/XMLSchema}QName"/>
         <element name="attribute" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ResourceAttributeDefinitionType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="dependency" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ResourceShadowDiscriminatorType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="entitlementAssociation" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ResourceEntitlementAssociationType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="assignmentPolicyEnforcement" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}AssignmentPolicyEnforcementType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  Boolean _default
           
protected  AssignmentPolicyEnforcementType assignmentPolicyEnforcement
           
protected  List<ResourceAttributeDefinitionType> attribute
           
static QName COMPLEX_TYPE
           
protected  List<ResourceShadowDiscriminatorType> dependency
           
protected  String description
           
protected  String displayName
           
protected  List<ResourceEntitlementAssociationType> entitlementAssociation
           
static QName F__DEFAULT
           
static QName F_ASSIGNMENT_POLICY_ENFORCEMENT
           
static QName F_ATTRIBUTE
           
static QName F_DEPENDENCY
           
static QName F_DESCRIPTION
           
static QName F_DISPLAY_NAME
           
static QName F_ENTITLEMENT_ASSOCIATION
           
static QName F_NAME
           
static QName F_OBJECT_CLASS
           
protected  String name
           
protected  QName objectClass
           
 
Constructor Summary
ResourceObjectClassTypeDefinitionType()
          Creates a new ResourceObjectClassTypeDefinitionType instance.
ResourceObjectClassTypeDefinitionType(ResourceObjectClassTypeDefinitionType o)
          Creates a new ResourceObjectClassTypeDefinitionType instance by deeply copying a given ResourceObjectClassTypeDefinitionType instance.
 
Method Summary
 ResourceObjectClassTypeDefinitionType clone()
          Creates and returns a deep copy of this object.
 boolean equals(Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 AssignmentPolicyEnforcementType getAssignmentPolicyEnforcement()
          Gets the value of the assignmentPolicyEnforcement property.
 List<ResourceAttributeDefinitionType> getAttribute()
          Gets the value of the attribute property.
 List<ResourceShadowDiscriminatorType> getDependency()
          Gets the value of the dependency property.
 String getDescription()
          Gets the value of the description property.
 String getDisplayName()
          Gets the value of the displayName property.
 List<ResourceEntitlementAssociationType> getEntitlementAssociation()
          Gets the value of the entitlementAssociation property.
 String getName()
          Gets the value of the name property.
 QName getObjectClass()
          Gets the value of the objectClass property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 Boolean isDefault()
          Gets the value of the default property.
 void setAssignmentPolicyEnforcement(AssignmentPolicyEnforcementType value)
          Sets the value of the assignmentPolicyEnforcement property.
 void setDefault(Boolean value)
          Sets the value of the default property.
 void setDescription(String value)
          Sets the value of the description property.
 void setDisplayName(String value)
          Sets the value of the displayName property.
 void setName(String value)
          Sets the value of the name property.
 void setObjectClass(QName value)
          Sets the value of the objectClass property.
 String toString()
          Generates a String representation of the contents of this type.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected String name

displayName

protected String displayName

description

protected String description

_default

protected Boolean _default

objectClass

protected QName objectClass

attribute

protected List<ResourceAttributeDefinitionType> attribute

dependency

protected List<ResourceShadowDiscriminatorType> dependency

entitlementAssociation

protected List<ResourceEntitlementAssociationType> entitlementAssociation

assignmentPolicyEnforcement

protected AssignmentPolicyEnforcementType assignmentPolicyEnforcement

COMPLEX_TYPE

public static final QName COMPLEX_TYPE

F_NAME

public static final QName F_NAME

F_DISPLAY_NAME

public static final QName F_DISPLAY_NAME

F_DESCRIPTION

public static final QName F_DESCRIPTION

F__DEFAULT

public static final QName F__DEFAULT

F_OBJECT_CLASS

public static final QName F_OBJECT_CLASS

F_ATTRIBUTE

public static final QName F_ATTRIBUTE

F_DEPENDENCY

public static final QName F_DEPENDENCY

F_ENTITLEMENT_ASSOCIATION

public static final QName F_ENTITLEMENT_ASSOCIATION

F_ASSIGNMENT_POLICY_ENFORCEMENT

public static final QName F_ASSIGNMENT_POLICY_ENFORCEMENT
Constructor Detail

ResourceObjectClassTypeDefinitionType

public ResourceObjectClassTypeDefinitionType()
Creates a new ResourceObjectClassTypeDefinitionType instance.


ResourceObjectClassTypeDefinitionType

public ResourceObjectClassTypeDefinitionType(ResourceObjectClassTypeDefinitionType o)
Creates a new ResourceObjectClassTypeDefinitionType instance by deeply copying a given ResourceObjectClassTypeDefinitionType instance.

Parameters:
o - The instance to copy.
Throws:
NullPointerException - if o is null.
Method Detail

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getDisplayName

public String getDisplayName()
Gets the value of the displayName property.

Returns:
possible object is String

setDisplayName

public void setDisplayName(String value)
Sets the value of the displayName property.

Parameters:
value - allowed object is String

getDescription

public String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

isDefault

public Boolean isDefault()
Gets the value of the default property.

Returns:
possible object is Boolean

setDefault

public void setDefault(Boolean value)
Sets the value of the default property.

Parameters:
value - allowed object is Boolean

getObjectClass

public QName getObjectClass()
Gets the value of the objectClass property.

Returns:
possible object is QName

setObjectClass

public void setObjectClass(QName value)
Sets the value of the objectClass property.

Parameters:
value - allowed object is QName

getAttribute

public List<ResourceAttributeDefinitionType> getAttribute()
Gets the value of the attribute 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 attribute property.

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

    getAttribute().add(newItem);
 

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


getDependency

public List<ResourceShadowDiscriminatorType> getDependency()
Gets the value of the dependency 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 dependency property.

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

    getDependency().add(newItem);
 

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


getEntitlementAssociation

public List<ResourceEntitlementAssociationType> getEntitlementAssociation()
Gets the value of the entitlementAssociation 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 entitlementAssociation property.

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

    getEntitlementAssociation().add(newItem);
 

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


getAssignmentPolicyEnforcement

public AssignmentPolicyEnforcementType getAssignmentPolicyEnforcement()
Gets the value of the assignmentPolicyEnforcement property.

Returns:
possible object is AssignmentPolicyEnforcementType

setAssignmentPolicyEnforcement

public void setAssignmentPolicyEnforcement(AssignmentPolicyEnforcementType value)
Sets the value of the assignmentPolicyEnforcement property.

Parameters:
value - allowed object is AssignmentPolicyEnforcementType

toString

public 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 Object

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

equals

public boolean equals(Object object)
Overrides:
equals in class Object

clone

public ResourceObjectClassTypeDefinitionType clone()
Creates and returns a deep copy of this object.

Overrides:
clone in class Object
Returns:
A deep copy of this object.


Copyright © 2013 evolveum. All Rights Reserved.