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 VariableBindingDefinitionTypebindingstatic QNameCOMPLEX_TYPEprotected Stringdescriptionprotected FormItemDisplayTypedisplayprotected Stringdocumentationstatic ItemNameF_BINDINGstatic ItemNameF_DESCRIPTIONstatic ItemNameF_DISPLAYstatic ItemNameF_DOCUMENTATIONstatic ItemNameF_NAMEstatic ItemNameF_VALIDATIONprotected Stringnameprotected FormItemValidationTypevalidation
-
Constructor Summary
Constructors Constructor Description AbstractFormItemType()Creates a newAbstractFormItemTypeinstance.AbstractFormItemType(AbstractFormItemType o)Creates a newAbstractFormItemTypeinstance by deeply copying a givenAbstractFormItemTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)VariableBindingDefinitionTypebeginBinding()FormItemDisplayTypebeginDisplay()FormItemValidationTypebeginValidation()AbstractFormItemTypebinding(VariableBindingDefinitionType value)AbstractFormItemTypeclone()Creates and returns a deep copy of this object.AbstractFormItemTypedescription(String value)AbstractFormItemTypedisplay(FormItemDisplayType value)AbstractFormItemTypedocumentation(String value)booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)VariableBindingDefinitionTypegetBinding()Gets the value of the binding property.StringgetDescription()Gets the value of the description property.FormItemDisplayTypegetDisplay()Gets the value of the display property.StringgetDocumentation()Gets the value of the documentation property.StringgetName()Gets the value of the name property.FormItemValidationTypegetValidation()Gets the value of the validation property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)AbstractFormItemTypename(String value)voidsetBinding(VariableBindingDefinitionType value)Sets the value of the binding property.voidsetDescription(String value)Sets the value of the description property.voidsetDisplay(FormItemDisplayType value)Sets the value of the display property.voidsetDocumentation(String value)Sets the value of the documentation property.voidsetName(String value)Sets the value of the name property.voidsetValidation(FormItemValidationType value)Sets the value of the validation property.StringtoString()Generates a String representation of the contents of this type.AbstractFormItemTypevalidation(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 newAbstractFormItemTypeinstance.
-
AbstractFormItemType
public AbstractFormItemType(AbstractFormItemType o)
Creates a newAbstractFormItemTypeinstance by deeply copying a givenAbstractFormItemTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
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:
hashCodein 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:
equalsin 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:
acceptin interfaceJaxbVisitable
-
clone
public AbstractFormItemType clone()
Creates and returns a deep copy of this object.
-
-