|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.evolveum.midpoint.xml.ns._public.common.common_2a.ApprovalSchemaType
public class ApprovalSchemaType
Rules for approving something (e.g. assignment of a role to a user). Specifies the structure of approvers and their relations.
Java class for ApprovalSchemaType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ApprovalSchemaType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="level" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ApprovalLevelType" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
static javax.xml.namespace.QName |
COMPLEX_TYPE
|
protected java.lang.String |
description
|
static javax.xml.namespace.QName |
F_DESCRIPTION
|
static javax.xml.namespace.QName |
F_LEVEL
|
static javax.xml.namespace.QName |
F_NAME
|
protected java.util.List<ApprovalLevelType> |
level
|
protected java.lang.String |
name
|
| Constructor Summary | |
|---|---|
ApprovalSchemaType()
Creates a new ApprovalSchemaType instance. |
|
ApprovalSchemaType(ApprovalSchemaType o)
Creates a new ApprovalSchemaType instance by deeply copying a given ApprovalSchemaType instance. |
|
| Method Summary | |
|---|---|
ApprovalSchemaType |
clone()
Creates and returns a deep copy of this object. |
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.lang.String |
getDescription()
Gets the value of the description property. |
java.util.List<ApprovalLevelType> |
getLevel()
Gets the value of the level property. |
java.lang.String |
getName()
Gets the value of the name property. |
int |
hashCode()
|
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
|
void |
setDescription(java.lang.String value)
Sets the value of the description property. |
void |
setName(java.lang.String value)
Sets the value of the name property. |
java.lang.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 |
|---|
protected java.lang.String name
protected java.lang.String description
protected java.util.List<ApprovalLevelType> level
public static final javax.xml.namespace.QName COMPLEX_TYPE
public static final javax.xml.namespace.QName F_NAME
public static final javax.xml.namespace.QName F_DESCRIPTION
public static final javax.xml.namespace.QName F_LEVEL
| Constructor Detail |
|---|
public ApprovalSchemaType()
ApprovalSchemaType instance.
public ApprovalSchemaType(ApprovalSchemaType o)
ApprovalSchemaType instance by deeply copying a given ApprovalSchemaType instance.
o - The instance to copy.
java.lang.NullPointerException - if o is null.| Method Detail |
|---|
public java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getDescription()
Stringpublic void setDescription(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<ApprovalLevelType> getLevel()
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 level property.
For example, to add a new item, do as follows:
getLevel().add(newItem);
Objects of the following type(s) are allowed in the list
ApprovalLevelType
public java.lang.String toString()
toString in class java.lang.Object
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic int hashCode()
hashCode in class java.lang.Object
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)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic ApprovalSchemaType clone()
clone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||