|
||||||||||
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_1.ValueConstructionType
public class ValueConstructionType
Defines how a value of a property (or attribute) should be constructed. The value may be static or constructed as an result of evaluating an expression. This strucuture also defines a method how to merge several value construction definitions, how to behave if a property already has a value, etc. This is reusable data structure, used in schemaHandling, roles and it may also be used in may other places. Motivation: We need to construct attribute or property values on many places in midPoint. E.g. we need that in roles to generate dynamic account attribute values, we need that to define "templates" for identifiers and default values for attributes when creating a new account. We also need that to specify values when creating a new user (user templates). Having the same data structure for all of these cases may simplify the code, as it all can be handled by a generic library reused in many places throught the system.
Java class for ValueConstructionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ValueConstructionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}description" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}extension" minOccurs="0"/> <element name="ref" type="{http://www.w3.org/2001/XMLSchema}QName" minOccurs="0"/> <element name="authoritative" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="exclusive" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="initial" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}stringFilter" maxOccurs="unbounded" minOccurs="0"/> <choice> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}valueConstructor"/> <element name="sequence"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}valueConstructor" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType> </element> </choice> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}condition" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Nested Class Summary | |
---|---|
static class |
ValueConstructionType.Sequence
Java class for anonymous complex type. |
Field Summary | |
---|---|
protected java.lang.Boolean |
authoritative
|
static javax.xml.namespace.QName |
COMPLEX_TYPE
|
protected ExpressionType |
condition
|
protected java.lang.String |
description
|
protected java.lang.Boolean |
exclusive
|
protected Extension |
extension
|
static javax.xml.namespace.QName |
F_AUTHORITATIVE
|
static javax.xml.namespace.QName |
F_CONDITION
|
static javax.xml.namespace.QName |
F_DESCRIPTION
|
static javax.xml.namespace.QName |
F_EXCLUSIVE
|
static javax.xml.namespace.QName |
F_EXTENSION
|
static javax.xml.namespace.QName |
F_INITIAL
|
static javax.xml.namespace.QName |
F_REF
|
static javax.xml.namespace.QName |
F_SEQUENCE
|
static javax.xml.namespace.QName |
F_STRING_FILTER
|
static javax.xml.namespace.QName |
F_VALUE_CONSTRUCTOR
|
protected java.lang.Boolean |
initial
|
protected javax.xml.namespace.QName |
ref
|
protected ValueConstructionType.Sequence |
sequence
|
protected java.util.List<StringFilterType> |
stringFilter
|
protected javax.xml.bind.JAXBElement<?> |
valueConstructor
|
Constructor Summary | |
---|---|
ValueConstructionType()
|
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)
|
ExpressionType |
getCondition()
Gets the value of the condition property. |
java.lang.String |
getDescription()
Gets the value of the description property. |
Extension |
getExtension()
Gets the value of the extension property. |
javax.xml.namespace.QName |
getRef()
Gets the value of the ref property. |
ValueConstructionType.Sequence |
getSequence()
Gets the value of the sequence property. |
java.util.List<StringFilterType> |
getStringFilter()
Gets the value of the stringFilter property. |
javax.xml.bind.JAXBElement<?> |
getValueConstructor()
Gets the value of the valueConstructor property. |
int |
hashCode()
|
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
|
java.lang.Boolean |
isAuthoritative()
Gets the value of the authoritative property. |
java.lang.Boolean |
isExclusive()
Gets the value of the exclusive property. |
java.lang.Boolean |
isInitial()
Gets the value of the initial property. |
void |
setAuthoritative(java.lang.Boolean value)
Sets the value of the authoritative property. |
void |
setCondition(ExpressionType value)
Sets the value of the condition property. |
void |
setDescription(java.lang.String value)
Sets the value of the description property. |
void |
setExclusive(java.lang.Boolean value)
Sets the value of the exclusive property. |
void |
setExtension(Extension value)
Sets the value of the extension property. |
void |
setInitial(java.lang.Boolean value)
Sets the value of the initial property. |
void |
setRef(javax.xml.namespace.QName value)
Sets the value of the ref property. |
void |
setSequence(ValueConstructionType.Sequence value)
Sets the value of the sequence property. |
void |
setValueConstructor(javax.xml.bind.JAXBElement<?> value)
Sets the value of the valueConstructor property. |
java.lang.String |
toString()
Generates a String representation of the contents of this type. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String description
protected Extension extension
protected javax.xml.namespace.QName ref
protected java.lang.Boolean authoritative
protected java.lang.Boolean exclusive
protected java.lang.Boolean initial
protected java.util.List<StringFilterType> stringFilter
protected javax.xml.bind.JAXBElement<?> valueConstructor
protected ValueConstructionType.Sequence sequence
protected ExpressionType condition
public static final javax.xml.namespace.QName COMPLEX_TYPE
public static final javax.xml.namespace.QName F_DESCRIPTION
public static final javax.xml.namespace.QName F_EXTENSION
public static final javax.xml.namespace.QName F_REF
public static final javax.xml.namespace.QName F_AUTHORITATIVE
public static final javax.xml.namespace.QName F_EXCLUSIVE
public static final javax.xml.namespace.QName F_INITIAL
public static final javax.xml.namespace.QName F_STRING_FILTER
public static final javax.xml.namespace.QName F_VALUE_CONSTRUCTOR
public static final javax.xml.namespace.QName F_SEQUENCE
public static final javax.xml.namespace.QName F_CONDITION
Constructor Detail |
---|
public ValueConstructionType()
Method Detail |
---|
public java.lang.String getDescription()
String
public void setDescription(java.lang.String value)
value
- allowed object is
String
public Extension getExtension()
Extension
public void setExtension(Extension value)
value
- allowed object is
Extension
public javax.xml.namespace.QName getRef()
QName
public void setRef(javax.xml.namespace.QName value)
value
- allowed object is
QName
public java.lang.Boolean isAuthoritative()
Boolean
public void setAuthoritative(java.lang.Boolean value)
value
- allowed object is
Boolean
public java.lang.Boolean isExclusive()
Boolean
public void setExclusive(java.lang.Boolean value)
value
- allowed object is
Boolean
public java.lang.Boolean isInitial()
Boolean
public void setInitial(java.lang.Boolean value)
value
- allowed object is
Boolean
public java.util.List<StringFilterType> getStringFilter()
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 stringFilter property.
For example, to add a new item, do as follows:
getStringFilter().add(newItem);
Objects of the following type(s) are allowed in the list
StringFilterType
public javax.xml.bind.JAXBElement<?> getValueConstructor()
JAXBElement
<
ExpressionType
>
JAXBElement
<
Object
>
JAXBElement
<
Object
>
JAXBElement
<
GenerateValueConstructorType
>
JAXBElement
<
AsIsValueConstructorType
>
public void setValueConstructor(javax.xml.bind.JAXBElement<?> value)
value
- allowed object is
JAXBElement
<
ExpressionType
>
JAXBElement
<
Object
>
JAXBElement
<
Object
>
JAXBElement
<
GenerateValueConstructorType
>
JAXBElement
<
AsIsValueConstructorType
>
public ValueConstructionType.Sequence getSequence()
ValueConstructionType.Sequence
public void setSequence(ValueConstructionType.Sequence value)
value
- allowed object is
ValueConstructionType.Sequence
public ExpressionType getCondition()
ExpressionType
public void setCondition(ExpressionType value)
value
- allowed object is
ExpressionType
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.HashCode
public 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.Equals
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |