Class FormItemValidationType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.FormItemValidationType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class FormItemValidationType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Validation rules for the item. Validation rule may be applied in the user interface. But server-side validation may also be applied during the computation process.Java class for FormItemValidationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FormItemValidationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="server" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}FormItemServerValidationType" maxOccurs="unbounded" minOccurs="0"/> <element name="client" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}FormItemClientValidationType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected FormItemClientValidationType
client
static QName
COMPLEX_TYPE
static ItemName
F_CLIENT
static ItemName
F_SERVER
protected List<FormItemServerValidationType>
server
-
Constructor Summary
Constructors Constructor Description FormItemValidationType()
Creates a newFormItemValidationType
instance.FormItemValidationType(FormItemValidationType o)
Creates a newFormItemValidationType
instance by deeply copying a givenFormItemValidationType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
FormItemClientValidationType
beginClient()
FormItemServerValidationType
beginServer()
FormItemValidationType
client(FormItemClientValidationType value)
FormItemValidationType
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)
FormItemClientValidationType
getClient()
Gets the value of the client property.List<FormItemServerValidationType>
getServer()
Gets the value of the server property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
FormItemValidationType
server(FormItemServerValidationType value)
void
setClient(FormItemClientValidationType value)
Sets the value of the client property.String
toString()
Generates a String representation of the contents of this type.
-
-
-
Field Detail
-
server
protected List<FormItemServerValidationType> server
-
client
protected FormItemClientValidationType client
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_SERVER
public static final ItemName F_SERVER
-
F_CLIENT
public static final ItemName F_CLIENT
-
-
Constructor Detail
-
FormItemValidationType
public FormItemValidationType()
Creates a newFormItemValidationType
instance.
-
FormItemValidationType
public FormItemValidationType(FormItemValidationType o)
Creates a newFormItemValidationType
instance by deeply copying a givenFormItemValidationType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getServer
public List<FormItemServerValidationType> getServer()
Gets the value of the server 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 server property.For example, to add a new item, do as follows:
getServer().add(newItem);
Objects of the following type(s) are allowed in the list
FormItemServerValidationType
-
getClient
public FormItemClientValidationType getClient()
Gets the value of the client property.- Returns:
- possible object is
FormItemClientValidationType
-
setClient
public void setClient(FormItemClientValidationType value)
Sets the value of the client property.- Parameters:
value
- allowed object isFormItemClientValidationType
-
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
-
server
public FormItemValidationType server(FormItemServerValidationType value)
-
beginServer
public FormItemServerValidationType beginServer()
-
client
public FormItemValidationType client(FormItemClientValidationType value)
-
beginClient
public FormItemClientValidationType beginClient()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public FormItemValidationType clone()
Creates and returns a deep copy of this object.
-
-