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

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_2a.ResourceAttributeDefinitionType
All Implemented Interfaces:
Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

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

Description of the attribute handling details, such as display name, read/write access and value and synchronization expressions. This is supposed to be used in schemaHandling part and therefore describe the decisions of the system administrator about the way how that attribute is used in midPoint. This is supposed to be used only in schemaHandling. It is not a reusable data structure now (composition).

Java class for ResourceAttributeDefinitionType complex type.

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

 <complexType name="ResourceAttributeDefinitionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="ref" type="{http://www.w3.org/2001/XMLSchema}QName"/>
         <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 ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ignore" minOccurs="0"/>
         <element name="minOccurs" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="maxOccurs" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="tolerant" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}access" maxOccurs="unbounded" minOccurs="0"/>
         <element name="outbound" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}MappingType" minOccurs="0"/>
         <element name="inbound" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}MappingType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<AccessType> access
           
static QName COMPLEX_TYPE
           
protected  String description
           
protected  String displayName
           
static QName F_ACCESS
           
static QName F_DESCRIPTION
           
static QName F_DISPLAY_NAME
           
static QName F_IGNORE
           
static QName F_INBOUND
           
static QName F_MAX_OCCURS
           
static QName F_MIN_OCCURS
           
static QName F_OUTBOUND
           
static QName F_REF
           
static QName F_TOLERANT
           
protected  Boolean ignore
           
protected  List<MappingType> inbound
           
protected  Integer maxOccurs
           
protected  Integer minOccurs
           
protected  MappingType outbound
           
protected  QName ref
           
protected  Boolean tolerant
           
 
Constructor Summary
ResourceAttributeDefinitionType()
          Creates a new ResourceAttributeDefinitionType instance.
ResourceAttributeDefinitionType(ResourceAttributeDefinitionType o)
          Creates a new ResourceAttributeDefinitionType instance by deeply copying a given ResourceAttributeDefinitionType instance.
 
Method Summary
 ResourceAttributeDefinitionType 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)
           
 List<AccessType> getAccess()
          Access to the attribute as defined by the system administrator or deployer.
 String getDescription()
          Gets the value of the description property.
 String getDisplayName()
          Gets the value of the displayName property.
 List<MappingType> getInbound()
          Gets the value of the inbound property.
 Integer getMaxOccurs()
          Gets the value of the maxOccurs property.
 Integer getMinOccurs()
          Gets the value of the minOccurs property.
 MappingType getOutbound()
          Gets the value of the outbound property.
 QName getRef()
          Gets the value of the ref property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 Boolean isIgnore()
          Gets the value of the ignore property.
 Boolean isTolerant()
          Gets the value of the tolerant property.
 void setDescription(String value)
          Sets the value of the description property.
 void setDisplayName(String value)
          Sets the value of the displayName property.
 void setIgnore(Boolean value)
          Sets the value of the ignore property.
 void setMaxOccurs(Integer value)
          Sets the value of the maxOccurs property.
 void setMinOccurs(Integer value)
          Sets the value of the minOccurs property.
 void setOutbound(MappingType value)
          Sets the value of the outbound property.
 void setRef(QName value)
          Sets the value of the ref property.
 void setTolerant(Boolean value)
          Sets the value of the tolerant 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

ref

protected QName ref

displayName

protected String displayName

description

protected String description

ignore

protected Boolean ignore

minOccurs

protected Integer minOccurs

maxOccurs

protected Integer maxOccurs

tolerant

protected Boolean tolerant

access

protected List<AccessType> access

outbound

protected MappingType outbound

inbound

protected List<MappingType> inbound

COMPLEX_TYPE

public static final QName COMPLEX_TYPE

F_REF

public static final QName F_REF

F_DISPLAY_NAME

public static final QName F_DISPLAY_NAME

F_DESCRIPTION

public static final QName F_DESCRIPTION

F_IGNORE

public static final QName F_IGNORE

F_MIN_OCCURS

public static final QName F_MIN_OCCURS

F_MAX_OCCURS

public static final QName F_MAX_OCCURS

F_TOLERANT

public static final QName F_TOLERANT

F_ACCESS

public static final QName F_ACCESS

F_OUTBOUND

public static final QName F_OUTBOUND

F_INBOUND

public static final QName F_INBOUND
Constructor Detail

ResourceAttributeDefinitionType

public ResourceAttributeDefinitionType()
Creates a new ResourceAttributeDefinitionType instance.


ResourceAttributeDefinitionType

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

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

getRef

public QName getRef()
Gets the value of the ref property.

Returns:
possible object is QName

setRef

public void setRef(QName value)
Sets the value of the ref property.

Parameters:
value - allowed object is QName

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

isIgnore

public Boolean isIgnore()
Gets the value of the ignore property.

Returns:
possible object is Boolean

setIgnore

public void setIgnore(Boolean value)
Sets the value of the ignore property.

Parameters:
value - allowed object is Boolean

getMinOccurs

public Integer getMinOccurs()
Gets the value of the minOccurs property.

Returns:
possible object is Integer

setMinOccurs

public void setMinOccurs(Integer value)
Sets the value of the minOccurs property.

Parameters:
value - allowed object is Integer

getMaxOccurs

public Integer getMaxOccurs()
Gets the value of the maxOccurs property.

Returns:
possible object is Integer

setMaxOccurs

public void setMaxOccurs(Integer value)
Sets the value of the maxOccurs property.

Parameters:
value - allowed object is Integer

isTolerant

public Boolean isTolerant()
Gets the value of the tolerant property.

Returns:
possible object is Boolean

setTolerant

public void setTolerant(Boolean value)
Sets the value of the tolerant property.

Parameters:
value - allowed object is Boolean

getAccess

public List<AccessType> getAccess()
Access to the attribute as defined by the system administrator or deployer. This can constrain the access defined by resource schema annotations. Specifying broader access that the resource connector can handle is an error. If no access is specified, it defaults to access definition specified in the resource schema annotations. Gets the value of the access 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 access property.

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

    getAccess().add(newItem);
 

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


getOutbound

public MappingType getOutbound()
Gets the value of the outbound property.

Returns:
possible object is MappingType

setOutbound

public void setOutbound(MappingType value)
Sets the value of the outbound property.

Parameters:
value - allowed object is MappingType

getInbound

public List<MappingType> getInbound()
Gets the value of the inbound 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 inbound property.

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

    getInbound().add(newItem);
 

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


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 ResourceAttributeDefinitionType 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.