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 FormItemClientValidationTypeclientstatic QNameCOMPLEX_TYPEstatic ItemNameF_CLIENTstatic ItemNameF_SERVERprotected List<FormItemServerValidationType>server
-
Constructor Summary
Constructors Constructor Description FormItemValidationType()Creates a newFormItemValidationTypeinstance.FormItemValidationType(FormItemValidationType o)Creates a newFormItemValidationTypeinstance by deeply copying a givenFormItemValidationTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)FormItemClientValidationTypebeginClient()FormItemServerValidationTypebeginServer()FormItemValidationTypeclient(FormItemClientValidationType value)FormItemValidationTypeclone()Creates and returns a deep copy of this object.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)FormItemClientValidationTypegetClient()Gets the value of the client property.List<FormItemServerValidationType>getServer()Gets the value of the server property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)FormItemValidationTypeserver(FormItemServerValidationType value)voidsetClient(FormItemClientValidationType value)Sets the value of the client property.StringtoString()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 newFormItemValidationTypeinstance.
-
FormItemValidationType
public FormItemValidationType(FormItemValidationType o)
Creates a newFormItemValidationTypeinstance by deeply copying a givenFormItemValidationTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
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
setmethod 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:
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
-
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:
acceptin interfaceJaxbVisitable
-
clone
public FormItemValidationType clone()
Creates and returns a deep copy of this object.
-
-