Class AbstractFormItemType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractFormItemType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
- Direct Known Subclasses:
FormFieldGroupType
,FormFieldType
public abstract class AbstractFormItemType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Abstract supertype for all form items.Java class for AbstractFormItemType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AbstractFormItemType"> <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 ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}description" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}documentation" minOccurs="0"/> <element name="binding" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}VariableBindingDefinitionType" minOccurs="0"/> <element name="display" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}FormItemDisplayType" minOccurs="0"/> <element name="validation" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}FormItemValidationType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected VariableBindingDefinitionType
binding
static QName
COMPLEX_TYPE
protected String
description
protected FormItemDisplayType
display
protected String
documentation
static ItemName
F_BINDING
static ItemName
F_DESCRIPTION
static ItemName
F_DISPLAY
static ItemName
F_DOCUMENTATION
static ItemName
F_NAME
static ItemName
F_VALIDATION
protected String
name
protected FormItemValidationType
validation
-
Constructor Summary
Constructors Constructor Description AbstractFormItemType()
Creates a newAbstractFormItemType
instance.AbstractFormItemType(AbstractFormItemType o)
Creates a newAbstractFormItemType
instance by deeply copying a givenAbstractFormItemType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
VariableBindingDefinitionType
beginBinding()
FormItemDisplayType
beginDisplay()
FormItemValidationType
beginValidation()
AbstractFormItemType
binding(VariableBindingDefinitionType value)
AbstractFormItemType
clone()
Creates and returns a deep copy of this object.AbstractFormItemType
description(String value)
AbstractFormItemType
display(FormItemDisplayType value)
AbstractFormItemType
documentation(String value)
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)
VariableBindingDefinitionType
getBinding()
Gets the value of the binding property.String
getDescription()
Gets the value of the description property.FormItemDisplayType
getDisplay()
Gets the value of the display property.String
getDocumentation()
Gets the value of the documentation property.String
getName()
Gets the value of the name property.FormItemValidationType
getValidation()
Gets the value of the validation property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
AbstractFormItemType
name(String value)
void
setBinding(VariableBindingDefinitionType value)
Sets the value of the binding property.void
setDescription(String value)
Sets the value of the description property.void
setDisplay(FormItemDisplayType value)
Sets the value of the display property.void
setDocumentation(String value)
Sets the value of the documentation property.void
setName(String value)
Sets the value of the name property.void
setValidation(FormItemValidationType value)
Sets the value of the validation property.String
toString()
Generates a String representation of the contents of this type.AbstractFormItemType
validation(FormItemValidationType value)
-
-
-
Field Detail
-
name
protected String name
-
description
protected String description
-
documentation
protected String documentation
-
binding
protected VariableBindingDefinitionType binding
-
display
protected FormItemDisplayType display
-
validation
protected FormItemValidationType validation
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_NAME
public static final ItemName F_NAME
-
F_DESCRIPTION
public static final ItemName F_DESCRIPTION
-
F_DOCUMENTATION
public static final ItemName F_DOCUMENTATION
-
F_BINDING
public static final ItemName F_BINDING
-
F_DISPLAY
public static final ItemName F_DISPLAY
-
F_VALIDATION
public static final ItemName F_VALIDATION
-
-
Constructor Detail
-
AbstractFormItemType
public AbstractFormItemType()
Creates a newAbstractFormItemType
instance.
-
AbstractFormItemType
public AbstractFormItemType(AbstractFormItemType o)
Creates a newAbstractFormItemType
instance by deeply copying a givenAbstractFormItemType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
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 isString
-
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 isString
-
getDocumentation
public String getDocumentation()
Gets the value of the documentation property.- Returns:
- possible object is
String
-
setDocumentation
public void setDocumentation(String value)
Sets the value of the documentation property.- Parameters:
value
- allowed object isString
-
getBinding
public VariableBindingDefinitionType getBinding()
Gets the value of the binding property.- Returns:
- possible object is
VariableBindingDefinitionType
-
setBinding
public void setBinding(VariableBindingDefinitionType value)
Sets the value of the binding property.- Parameters:
value
- allowed object isVariableBindingDefinitionType
-
getDisplay
public FormItemDisplayType getDisplay()
Gets the value of the display property.- Returns:
- possible object is
FormItemDisplayType
-
setDisplay
public void setDisplay(FormItemDisplayType value)
Sets the value of the display property.- Parameters:
value
- allowed object isFormItemDisplayType
-
getValidation
public FormItemValidationType getValidation()
Gets the value of the validation property.- Returns:
- possible object is
FormItemValidationType
-
setValidation
public void setValidation(FormItemValidationType value)
Sets the value of the validation property.- Parameters:
value
- allowed object isFormItemValidationType
-
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
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
- Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode
-
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 interfaceorg.jvnet.jaxb2_commons.lang.Equals
-
name
public AbstractFormItemType name(String value)
-
description
public AbstractFormItemType description(String value)
-
documentation
public AbstractFormItemType documentation(String value)
-
binding
public AbstractFormItemType binding(VariableBindingDefinitionType value)
-
beginBinding
public VariableBindingDefinitionType beginBinding()
-
display
public AbstractFormItemType display(FormItemDisplayType value)
-
beginDisplay
public FormItemDisplayType beginDisplay()
-
validation
public AbstractFormItemType validation(FormItemValidationType value)
-
beginValidation
public FormItemValidationType beginValidation()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public AbstractFormItemType clone()
Creates and returns a deep copy of this object.
-
-