All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hl7.elm_modelinfo.r1.ClassInfoElement Maven / Gradle / Ivy

//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2024.11.06 at 08:02:20 AM MST 
//


package org.hl7.elm_modelinfo.r1;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
import org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.HashCode2;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;


/**
 * 

Java class for ClassInfoElement complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="ClassInfoElement">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="typeSpecifier" type="{urn:hl7-org:elm-modelinfo:r1}TypeSpecifier" minOccurs="0"/>
 *         <element name="elementTypeSpecifier" type="{urn:hl7-org:elm-modelinfo:r1}TypeSpecifier" minOccurs="0"/>
 *         <element name="binding" type="{urn:hl7-org:elm-modelinfo:r1}BindingInfo" minOccurs="0"/>
 *         <element name="constraint" type="{urn:hl7-org:elm-modelinfo:r1}ConstraintInfo" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="elementType" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="prohibited" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="oneBased" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="target" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="definition" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="comment" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="min" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="max" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="mustSupport" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ClassInfoElement", namespace = "urn:hl7-org:elm-modelinfo:r1", propOrder = { "typeSpecifier", "elementTypeSpecifier", "binding", "constraint" }) public class ClassInfoElement implements Equals2, HashCode2, ToString2 { @XmlElement(namespace = "urn:hl7-org:elm-modelinfo:r1") protected TypeSpecifier typeSpecifier; @XmlElement(namespace = "urn:hl7-org:elm-modelinfo:r1") protected TypeSpecifier elementTypeSpecifier; @XmlElement(namespace = "urn:hl7-org:elm-modelinfo:r1") protected BindingInfo binding; @XmlElement(namespace = "urn:hl7-org:elm-modelinfo:r1") protected List constraint; @XmlAttribute(name = "name", required = true) protected String name; @XmlAttribute(name = "type") protected String type; @XmlAttribute(name = "elementType") protected String elementType; @XmlAttribute(name = "prohibited") protected Boolean prohibited; @XmlAttribute(name = "oneBased") protected Boolean oneBased; @XmlAttribute(name = "target") protected String target; @XmlAttribute(name = "label") protected String label; @XmlAttribute(name = "description") protected String description; @XmlAttribute(name = "definition") protected String definition; @XmlAttribute(name = "comment") protected String comment; @XmlAttribute(name = "min") protected Integer min; @XmlAttribute(name = "max") protected String max; @XmlAttribute(name = "mustSupport") protected Boolean mustSupport; /** * Gets the value of the typeSpecifier property. * * @return * possible object is * {@link TypeSpecifier } * */ public TypeSpecifier getTypeSpecifier() { return typeSpecifier; } /** * Sets the value of the typeSpecifier property. * * @param value * allowed object is * {@link TypeSpecifier } * */ public void setTypeSpecifier(TypeSpecifier value) { this.typeSpecifier = value; } /** * Gets the value of the elementTypeSpecifier property. * * @return * possible object is * {@link TypeSpecifier } * */ public TypeSpecifier getElementTypeSpecifier() { return elementTypeSpecifier; } /** * Sets the value of the elementTypeSpecifier property. * * @param value * allowed object is * {@link TypeSpecifier } * */ public void setElementTypeSpecifier(TypeSpecifier value) { this.elementTypeSpecifier = value; } /** * Gets the value of the binding property. * * @return * possible object is * {@link BindingInfo } * */ public BindingInfo getBinding() { return binding; } /** * Sets the value of the binding property. * * @param value * allowed object is * {@link BindingInfo } * */ public void setBinding(BindingInfo value) { this.binding = value; } /** * 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 Jakarta XML Binding object. * This is why there is not a set method 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 * {@link ConstraintInfo } * * */ public List getConstraint() { if (constraint == null) { constraint = new ArrayList(); } return this.constraint; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the elementType property. * * @return * possible object is * {@link String } * */ public String getElementType() { return elementType; } /** * Sets the value of the elementType property. * * @param value * allowed object is * {@link String } * */ public void setElementType(String value) { this.elementType = value; } /** * Gets the value of the prohibited property. * * @return * possible object is * {@link Boolean } * */ public Boolean isProhibited() { return prohibited; } /** * Sets the value of the prohibited property. * * @param value * allowed object is * {@link Boolean } * */ public void setProhibited(Boolean value) { this.prohibited = value; } /** * Gets the value of the oneBased property. * * @return * possible object is * {@link Boolean } * */ public Boolean isOneBased() { return oneBased; } /** * Sets the value of the oneBased property. * * @param value * allowed object is * {@link Boolean } * */ public void setOneBased(Boolean value) { this.oneBased = value; } /** * Gets the value of the target property. * * @return * possible object is * {@link String } * */ public String getTarget() { return target; } /** * Sets the value of the target property. * * @param value * allowed object is * {@link String } * */ public void setTarget(String value) { this.target = value; } /** * Gets the value of the label property. * * @return * possible object is * {@link String } * */ public String getLabel() { return label; } /** * Sets the value of the label property. * * @param value * allowed object is * {@link String } * */ public void setLabel(String value) { this.label = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the definition property. * * @return * possible object is * {@link String } * */ public String getDefinition() { return definition; } /** * Sets the value of the definition property. * * @param value * allowed object is * {@link String } * */ public void setDefinition(String value) { this.definition = value; } /** * Gets the value of the comment property. * * @return * possible object is * {@link String } * */ public String getComment() { return comment; } /** * Sets the value of the comment property. * * @param value * allowed object is * {@link String } * */ public void setComment(String value) { this.comment = value; } /** * Gets the value of the min property. * * @return * possible object is * {@link Integer } * */ public Integer getMin() { return min; } /** * Sets the value of the min property. * * @param value * allowed object is * {@link Integer } * */ public void setMin(Integer value) { this.min = value; } /** * Gets the value of the max property. * * @return * possible object is * {@link String } * */ public String getMax() { return max; } /** * Sets the value of the max property. * * @param value * allowed object is * {@link String } * */ public void setMax(String value) { this.max = value; } /** * Gets the value of the mustSupport property. * * @return * possible object is * {@link Boolean } * */ public Boolean isMustSupport() { return mustSupport; } /** * Sets the value of the mustSupport property. * * @param value * allowed object is * {@link Boolean } * */ public void setMustSupport(Boolean value) { this.mustSupport = value; } public ClassInfoElement withTypeSpecifier(TypeSpecifier value) { setTypeSpecifier(value); return this; } public ClassInfoElement withElementTypeSpecifier(TypeSpecifier value) { setElementTypeSpecifier(value); return this; } public ClassInfoElement withBinding(BindingInfo value) { setBinding(value); return this; } public ClassInfoElement withConstraint(ConstraintInfo... values) { if (values!= null) { for (ConstraintInfo value: values) { getConstraint().add(value); } } return this; } public ClassInfoElement withConstraint(Collection values) { if (values!= null) { getConstraint().addAll(values); } return this; } public ClassInfoElement withName(String value) { setName(value); return this; } public ClassInfoElement withType(String value) { setType(value); return this; } public ClassInfoElement withElementType(String value) { setElementType(value); return this; } public ClassInfoElement withProhibited(Boolean value) { setProhibited(value); return this; } public ClassInfoElement withOneBased(Boolean value) { setOneBased(value); return this; } public ClassInfoElement withTarget(String value) { setTarget(value); return this; } public ClassInfoElement withLabel(String value) { setLabel(value); return this; } public ClassInfoElement withDescription(String value) { setDescription(value); return this; } public ClassInfoElement withDefinition(String value) { setDefinition(value); return this; } public ClassInfoElement withComment(String value) { setComment(value); return this; } public ClassInfoElement withMin(Integer value) { setMin(value); return this; } public ClassInfoElement withMax(String value) { setMax(value); return this; } public ClassInfoElement withMustSupport(Boolean value) { setMustSupport(value); return this; } @Override public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) { if ((object == null)||(this.getClass()!= object.getClass())) { return false; } if (this == object) { return true; } final ClassInfoElement that = ((ClassInfoElement) object); { TypeSpecifier lhsTypeSpecifier; lhsTypeSpecifier = this.getTypeSpecifier(); TypeSpecifier rhsTypeSpecifier; rhsTypeSpecifier = that.getTypeSpecifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "typeSpecifier", lhsTypeSpecifier), LocatorUtils.property(thatLocator, "typeSpecifier", rhsTypeSpecifier), lhsTypeSpecifier, rhsTypeSpecifier, (this.typeSpecifier!= null), (that.typeSpecifier!= null))) { return false; } } { TypeSpecifier lhsElementTypeSpecifier; lhsElementTypeSpecifier = this.getElementTypeSpecifier(); TypeSpecifier rhsElementTypeSpecifier; rhsElementTypeSpecifier = that.getElementTypeSpecifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "elementTypeSpecifier", lhsElementTypeSpecifier), LocatorUtils.property(thatLocator, "elementTypeSpecifier", rhsElementTypeSpecifier), lhsElementTypeSpecifier, rhsElementTypeSpecifier, (this.elementTypeSpecifier!= null), (that.elementTypeSpecifier!= null))) { return false; } } { BindingInfo lhsBinding; lhsBinding = this.getBinding(); BindingInfo rhsBinding; rhsBinding = that.getBinding(); if (!strategy.equals(LocatorUtils.property(thisLocator, "binding", lhsBinding), LocatorUtils.property(thatLocator, "binding", rhsBinding), lhsBinding, rhsBinding, (this.binding!= null), (that.binding!= null))) { return false; } } { List lhsConstraint; lhsConstraint = (((this.constraint!= null)&&(!this.constraint.isEmpty()))?this.getConstraint():null); List rhsConstraint; rhsConstraint = (((that.constraint!= null)&&(!that.constraint.isEmpty()))?that.getConstraint():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "constraint", lhsConstraint), LocatorUtils.property(thatLocator, "constraint", rhsConstraint), lhsConstraint, rhsConstraint, ((this.constraint!= null)&&(!this.constraint.isEmpty())), ((that.constraint!= null)&&(!that.constraint.isEmpty())))) { return false; } } { String lhsName; lhsName = this.getName(); String rhsName; rhsName = that.getName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "name", lhsName), LocatorUtils.property(thatLocator, "name", rhsName), lhsName, rhsName, (this.name!= null), (that.name!= null))) { return false; } } { String lhsType; lhsType = this.getType(); String rhsType; rhsType = that.getType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "type", lhsType), LocatorUtils.property(thatLocator, "type", rhsType), lhsType, rhsType, (this.type!= null), (that.type!= null))) { return false; } } { String lhsElementType; lhsElementType = this.getElementType(); String rhsElementType; rhsElementType = that.getElementType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "elementType", lhsElementType), LocatorUtils.property(thatLocator, "elementType", rhsElementType), lhsElementType, rhsElementType, (this.elementType!= null), (that.elementType!= null))) { return false; } } { Boolean lhsProhibited; lhsProhibited = this.isProhibited(); Boolean rhsProhibited; rhsProhibited = that.isProhibited(); if (!strategy.equals(LocatorUtils.property(thisLocator, "prohibited", lhsProhibited), LocatorUtils.property(thatLocator, "prohibited", rhsProhibited), lhsProhibited, rhsProhibited, (this.prohibited!= null), (that.prohibited!= null))) { return false; } } { Boolean lhsOneBased; lhsOneBased = this.isOneBased(); Boolean rhsOneBased; rhsOneBased = that.isOneBased(); if (!strategy.equals(LocatorUtils.property(thisLocator, "oneBased", lhsOneBased), LocatorUtils.property(thatLocator, "oneBased", rhsOneBased), lhsOneBased, rhsOneBased, (this.oneBased!= null), (that.oneBased!= null))) { return false; } } { String lhsTarget; lhsTarget = this.getTarget(); String rhsTarget; rhsTarget = that.getTarget(); if (!strategy.equals(LocatorUtils.property(thisLocator, "target", lhsTarget), LocatorUtils.property(thatLocator, "target", rhsTarget), lhsTarget, rhsTarget, (this.target!= null), (that.target!= null))) { return false; } } { String lhsLabel; lhsLabel = this.getLabel(); String rhsLabel; rhsLabel = that.getLabel(); if (!strategy.equals(LocatorUtils.property(thisLocator, "label", lhsLabel), LocatorUtils.property(thatLocator, "label", rhsLabel), lhsLabel, rhsLabel, (this.label!= null), (that.label!= null))) { return false; } } { String lhsDescription; lhsDescription = this.getDescription(); String rhsDescription; rhsDescription = that.getDescription(); if (!strategy.equals(LocatorUtils.property(thisLocator, "description", lhsDescription), LocatorUtils.property(thatLocator, "description", rhsDescription), lhsDescription, rhsDescription, (this.description!= null), (that.description!= null))) { return false; } } { String lhsDefinition; lhsDefinition = this.getDefinition(); String rhsDefinition; rhsDefinition = that.getDefinition(); if (!strategy.equals(LocatorUtils.property(thisLocator, "definition", lhsDefinition), LocatorUtils.property(thatLocator, "definition", rhsDefinition), lhsDefinition, rhsDefinition, (this.definition!= null), (that.definition!= null))) { return false; } } { String lhsComment; lhsComment = this.getComment(); String rhsComment; rhsComment = that.getComment(); if (!strategy.equals(LocatorUtils.property(thisLocator, "comment", lhsComment), LocatorUtils.property(thatLocator, "comment", rhsComment), lhsComment, rhsComment, (this.comment!= null), (that.comment!= null))) { return false; } } { Integer lhsMin; lhsMin = this.getMin(); Integer rhsMin; rhsMin = that.getMin(); if (!strategy.equals(LocatorUtils.property(thisLocator, "min", lhsMin), LocatorUtils.property(thatLocator, "min", rhsMin), lhsMin, rhsMin, (this.min!= null), (that.min!= null))) { return false; } } { String lhsMax; lhsMax = this.getMax(); String rhsMax; rhsMax = that.getMax(); if (!strategy.equals(LocatorUtils.property(thisLocator, "max", lhsMax), LocatorUtils.property(thatLocator, "max", rhsMax), lhsMax, rhsMax, (this.max!= null), (that.max!= null))) { return false; } } { Boolean lhsMustSupport; lhsMustSupport = this.isMustSupport(); Boolean rhsMustSupport; rhsMustSupport = that.isMustSupport(); if (!strategy.equals(LocatorUtils.property(thisLocator, "mustSupport", lhsMustSupport), LocatorUtils.property(thatLocator, "mustSupport", rhsMustSupport), lhsMustSupport, rhsMustSupport, (this.mustSupport!= null), (that.mustSupport!= null))) { return false; } } return true; } @Override public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.getInstance(); return equals(null, null, object, strategy); } @Override public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { TypeSpecifier theTypeSpecifier; theTypeSpecifier = this.getTypeSpecifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "typeSpecifier", theTypeSpecifier), currentHashCode, theTypeSpecifier, (this.typeSpecifier!= null)); } { TypeSpecifier theElementTypeSpecifier; theElementTypeSpecifier = this.getElementTypeSpecifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "elementTypeSpecifier", theElementTypeSpecifier), currentHashCode, theElementTypeSpecifier, (this.elementTypeSpecifier!= null)); } { BindingInfo theBinding; theBinding = this.getBinding(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "binding", theBinding), currentHashCode, theBinding, (this.binding!= null)); } { List theConstraint; theConstraint = (((this.constraint!= null)&&(!this.constraint.isEmpty()))?this.getConstraint():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "constraint", theConstraint), currentHashCode, theConstraint, ((this.constraint!= null)&&(!this.constraint.isEmpty()))); } { String theName; theName = this.getName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "name", theName), currentHashCode, theName, (this.name!= null)); } { String theType; theType = this.getType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theType), currentHashCode, theType, (this.type!= null)); } { String theElementType; theElementType = this.getElementType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "elementType", theElementType), currentHashCode, theElementType, (this.elementType!= null)); } { Boolean theProhibited; theProhibited = this.isProhibited(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "prohibited", theProhibited), currentHashCode, theProhibited, (this.prohibited!= null)); } { Boolean theOneBased; theOneBased = this.isOneBased(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "oneBased", theOneBased), currentHashCode, theOneBased, (this.oneBased!= null)); } { String theTarget; theTarget = this.getTarget(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "target", theTarget), currentHashCode, theTarget, (this.target!= null)); } { String theLabel; theLabel = this.getLabel(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "label", theLabel), currentHashCode, theLabel, (this.label!= null)); } { String theDescription; theDescription = this.getDescription(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "description", theDescription), currentHashCode, theDescription, (this.description!= null)); } { String theDefinition; theDefinition = this.getDefinition(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "definition", theDefinition), currentHashCode, theDefinition, (this.definition!= null)); } { String theComment; theComment = this.getComment(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "comment", theComment), currentHashCode, theComment, (this.comment!= null)); } { Integer theMin; theMin = this.getMin(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "min", theMin), currentHashCode, theMin, (this.min!= null)); } { String theMax; theMax = this.getMax(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "max", theMax), currentHashCode, theMax, (this.max!= null)); } { Boolean theMustSupport; theMustSupport = this.isMustSupport(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "mustSupport", theMustSupport), currentHashCode, theMustSupport, (this.mustSupport!= null)); } return currentHashCode; } @Override public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.getInstance(); return this.hashCode(null, strategy); } @Override public String toString() { final ToStringStrategy2 strategy = JAXBToStringStrategy.getInstance(); final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } @Override public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; } @Override public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { TypeSpecifier theTypeSpecifier; theTypeSpecifier = this.getTypeSpecifier(); strategy.appendField(locator, this, "typeSpecifier", buffer, theTypeSpecifier, (this.typeSpecifier!= null)); } { TypeSpecifier theElementTypeSpecifier; theElementTypeSpecifier = this.getElementTypeSpecifier(); strategy.appendField(locator, this, "elementTypeSpecifier", buffer, theElementTypeSpecifier, (this.elementTypeSpecifier!= null)); } { BindingInfo theBinding; theBinding = this.getBinding(); strategy.appendField(locator, this, "binding", buffer, theBinding, (this.binding!= null)); } { List theConstraint; theConstraint = (((this.constraint!= null)&&(!this.constraint.isEmpty()))?this.getConstraint():null); strategy.appendField(locator, this, "constraint", buffer, theConstraint, ((this.constraint!= null)&&(!this.constraint.isEmpty()))); } { String theName; theName = this.getName(); strategy.appendField(locator, this, "name", buffer, theName, (this.name!= null)); } { String theType; theType = this.getType(); strategy.appendField(locator, this, "type", buffer, theType, (this.type!= null)); } { String theElementType; theElementType = this.getElementType(); strategy.appendField(locator, this, "elementType", buffer, theElementType, (this.elementType!= null)); } { Boolean theProhibited; theProhibited = this.isProhibited(); strategy.appendField(locator, this, "prohibited", buffer, theProhibited, (this.prohibited!= null)); } { Boolean theOneBased; theOneBased = this.isOneBased(); strategy.appendField(locator, this, "oneBased", buffer, theOneBased, (this.oneBased!= null)); } { String theTarget; theTarget = this.getTarget(); strategy.appendField(locator, this, "target", buffer, theTarget, (this.target!= null)); } { String theLabel; theLabel = this.getLabel(); strategy.appendField(locator, this, "label", buffer, theLabel, (this.label!= null)); } { String theDescription; theDescription = this.getDescription(); strategy.appendField(locator, this, "description", buffer, theDescription, (this.description!= null)); } { String theDefinition; theDefinition = this.getDefinition(); strategy.appendField(locator, this, "definition", buffer, theDefinition, (this.definition!= null)); } { String theComment; theComment = this.getComment(); strategy.appendField(locator, this, "comment", buffer, theComment, (this.comment!= null)); } { Integer theMin; theMin = this.getMin(); strategy.appendField(locator, this, "min", buffer, theMin, (this.min!= null)); } { String theMax; theMax = this.getMax(); strategy.appendField(locator, this, "max", buffer, theMax, (this.max!= null)); } { Boolean theMustSupport; theMustSupport = this.isMustSupport(); strategy.appendField(locator, this, "mustSupport", buffer, theMustSupport, (this.mustSupport!= null)); } return buffer; } public void setConstraint(List value) { this.constraint = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy