Class GetterType
- java.lang.Object
-
- org.apache.openejb.jee.bval.GetterType
-
public class GetterType extends Object
Java class for getterType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="getterType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="valid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="convert-group" type="{http://jboss.org/xml/ns/javax/validation/mapping}groupConversionType" maxOccurs="unbounded" minOccurs="0"/> <element name="constraint" type="{http://jboss.org/xml/ns/javax/validation/mapping}constraintType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="ignore-annotations" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ConstraintType>constraintprotected List<GroupConversionType>convertGroupprotected BooleanignoreAnnotationsprotected Stringnameprotected Stringvalid
-
Constructor Summary
Constructors Constructor Description GetterType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ConstraintType>getConstraint()Gets the value of the constraint property.List<GroupConversionType>getConvertGroup()Gets the value of the convertGroup property.BooleangetIgnoreAnnotations()Gets the value of the ignoreAnnotations property.StringgetName()Gets the value of the name property.StringgetValid()Gets the value of the valid property.voidsetIgnoreAnnotations(Boolean value)Sets the value of the ignoreAnnotations property.voidsetName(String value)Sets the value of the name property.voidsetValid(String value)Sets the value of the valid property.
-
-
-
Field Detail
-
valid
protected String valid
-
convertGroup
protected List<GroupConversionType> convertGroup
-
constraint
protected List<ConstraintType> constraint
-
name
protected String name
-
ignoreAnnotations
protected Boolean ignoreAnnotations
-
-
Method Detail
-
getValid
public String getValid()
Gets the value of the valid property.- Returns:
- possible object is
String
-
setValid
public void setValid(String value)
Sets the value of the valid property.- Parameters:
value- allowed object isString
-
getConvertGroup
public List<GroupConversionType> getConvertGroup()
Gets the value of the convertGroup 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 convertGroup property.For example, to add a new item, do as follows:
getConvertGroup().add(newItem);Objects of the following type(s) are allowed in the list
GroupConversionType
-
getConstraint
public List<ConstraintType> getConstraint()
Gets the value of the constraint 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 constraint property.For example, to add a new item, do as follows:
getConstraint().add(newItem);Objects of the following type(s) are allowed in the list
ConstraintType
-
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
-
getIgnoreAnnotations
public Boolean getIgnoreAnnotations()
Gets the value of the ignoreAnnotations property.- Returns:
- possible object is
Boolean
-
-