Package org.hl7.elm_modelinfo.r1
Class ClassInfoElement
- java.lang.Object
-
- org.hl7.elm_modelinfo.r1.ClassInfoElement
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class ClassInfoElement extends java.lang.Object implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2Java 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected BindingInfobindingprotected java.lang.Stringcommentprotected java.util.List<ConstraintInfo>constraintprotected java.lang.Stringdefinitionprotected java.lang.Stringdescriptionprotected java.lang.StringelementTypeprotected TypeSpecifierelementTypeSpecifierprotected java.lang.Stringlabelprotected java.lang.Stringmaxprotected java.lang.Integerminprotected java.lang.BooleanmustSupportprotected java.lang.Stringnameprotected java.lang.BooleanoneBasedprotected java.lang.Booleanprohibitedprotected java.lang.Stringtargetprotected java.lang.Stringtypeprotected TypeSpecifiertypeSpecifier
-
Constructor Summary
Constructors Constructor Description ClassInfoElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)BindingInfogetBinding()Gets the value of the binding property.java.lang.StringgetComment()Gets the value of the comment property.java.util.List<ConstraintInfo>getConstraint()Gets the value of the constraint property.java.lang.StringgetDefinition()Gets the value of the definition property.java.lang.StringgetDescription()Gets the value of the description property.java.lang.StringgetElementType()Gets the value of the elementType property.TypeSpecifiergetElementTypeSpecifier()Gets the value of the elementTypeSpecifier property.java.lang.StringgetLabel()Gets the value of the label property.java.lang.StringgetMax()Gets the value of the max property.java.lang.IntegergetMin()Gets the value of the min property.java.lang.StringgetName()Gets the value of the name property.java.lang.StringgetTarget()Gets the value of the target property.java.lang.StringgetType()Gets the value of the type property.TypeSpecifiergetTypeSpecifier()Gets the value of the typeSpecifier property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)java.lang.BooleanisMustSupport()Gets the value of the mustSupport property.java.lang.BooleanisOneBased()Gets the value of the oneBased property.java.lang.BooleanisProhibited()Gets the value of the prohibited property.voidsetBinding(BindingInfo value)Sets the value of the binding property.voidsetComment(java.lang.String value)Sets the value of the comment property.voidsetDefinition(java.lang.String value)Sets the value of the definition property.voidsetDescription(java.lang.String value)Sets the value of the description property.voidsetElementType(java.lang.String value)Sets the value of the elementType property.voidsetElementTypeSpecifier(TypeSpecifier value)Sets the value of the elementTypeSpecifier property.voidsetLabel(java.lang.String value)Sets the value of the label property.voidsetMax(java.lang.String value)Sets the value of the max property.voidsetMin(java.lang.Integer value)Sets the value of the min property.voidsetMustSupport(java.lang.Boolean value)Sets the value of the mustSupport property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetOneBased(java.lang.Boolean value)Sets the value of the oneBased property.voidsetProhibited(java.lang.Boolean value)Sets the value of the prohibited property.voidsetTarget(java.lang.String value)Sets the value of the target property.voidsetType(java.lang.String value)Sets the value of the type property.voidsetTypeSpecifier(TypeSpecifier value)Sets the value of the typeSpecifier property.java.lang.StringtoString()ClassInfoElementwithBinding(BindingInfo value)ClassInfoElementwithComment(java.lang.String value)ClassInfoElementwithConstraint(java.util.Collection<ConstraintInfo> values)ClassInfoElementwithConstraint(ConstraintInfo... values)ClassInfoElementwithDefinition(java.lang.String value)ClassInfoElementwithDescription(java.lang.String value)ClassInfoElementwithElementType(java.lang.String value)ClassInfoElementwithElementTypeSpecifier(TypeSpecifier value)ClassInfoElementwithLabel(java.lang.String value)ClassInfoElementwithMax(java.lang.String value)ClassInfoElementwithMin(java.lang.Integer value)ClassInfoElementwithMustSupport(java.lang.Boolean value)ClassInfoElementwithName(java.lang.String value)ClassInfoElementwithOneBased(java.lang.Boolean value)ClassInfoElementwithProhibited(java.lang.Boolean value)ClassInfoElementwithTarget(java.lang.String value)ClassInfoElementwithType(java.lang.String value)ClassInfoElementwithTypeSpecifier(TypeSpecifier value)
-
-
-
Field Detail
-
typeSpecifier
protected TypeSpecifier typeSpecifier
-
elementTypeSpecifier
protected TypeSpecifier elementTypeSpecifier
-
binding
protected BindingInfo binding
-
constraint
protected java.util.List<ConstraintInfo> constraint
-
name
protected java.lang.String name
-
type
protected java.lang.String type
-
elementType
protected java.lang.String elementType
-
prohibited
protected java.lang.Boolean prohibited
-
oneBased
protected java.lang.Boolean oneBased
-
target
protected java.lang.String target
-
label
protected java.lang.String label
-
description
protected java.lang.String description
-
definition
protected java.lang.String definition
-
comment
protected java.lang.String comment
-
min
protected java.lang.Integer min
-
max
protected java.lang.String max
-
mustSupport
protected java.lang.Boolean mustSupport
-
-
Method Detail
-
getTypeSpecifier
public TypeSpecifier getTypeSpecifier()
Gets the value of the typeSpecifier property.- Returns:
- possible object is
TypeSpecifier
-
setTypeSpecifier
public void setTypeSpecifier(TypeSpecifier value)
Sets the value of the typeSpecifier property.- Parameters:
value- allowed object isTypeSpecifier
-
getElementTypeSpecifier
public TypeSpecifier getElementTypeSpecifier()
Gets the value of the elementTypeSpecifier property.- Returns:
- possible object is
TypeSpecifier
-
setElementTypeSpecifier
public void setElementTypeSpecifier(TypeSpecifier value)
Sets the value of the elementTypeSpecifier property.- Parameters:
value- allowed object isTypeSpecifier
-
getBinding
public BindingInfo getBinding()
Gets the value of the binding property.- Returns:
- possible object is
BindingInfo
-
setBinding
public void setBinding(BindingInfo value)
Sets the value of the binding property.- Parameters:
value- allowed object isBindingInfo
-
getConstraint
public java.util.List<ConstraintInfo> 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
ConstraintInfo
-
getName
public java.lang.String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getType
public java.lang.String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(java.lang.String value)
Sets the value of the type property.- Parameters:
value- allowed object isString
-
getElementType
public java.lang.String getElementType()
Gets the value of the elementType property.- Returns:
- possible object is
String
-
setElementType
public void setElementType(java.lang.String value)
Sets the value of the elementType property.- Parameters:
value- allowed object isString
-
isProhibited
public java.lang.Boolean isProhibited()
Gets the value of the prohibited property.- Returns:
- possible object is
Boolean
-
setProhibited
public void setProhibited(java.lang.Boolean value)
Sets the value of the prohibited property.- Parameters:
value- allowed object isBoolean
-
isOneBased
public java.lang.Boolean isOneBased()
Gets the value of the oneBased property.- Returns:
- possible object is
Boolean
-
setOneBased
public void setOneBased(java.lang.Boolean value)
Sets the value of the oneBased property.- Parameters:
value- allowed object isBoolean
-
getTarget
public java.lang.String getTarget()
Gets the value of the target property.- Returns:
- possible object is
String
-
setTarget
public void setTarget(java.lang.String value)
Sets the value of the target property.- Parameters:
value- allowed object isString
-
getLabel
public java.lang.String getLabel()
Gets the value of the label property.- Returns:
- possible object is
String
-
setLabel
public void setLabel(java.lang.String value)
Sets the value of the label property.- Parameters:
value- allowed object isString
-
getDescription
public java.lang.String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(java.lang.String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getDefinition
public java.lang.String getDefinition()
Gets the value of the definition property.- Returns:
- possible object is
String
-
setDefinition
public void setDefinition(java.lang.String value)
Sets the value of the definition property.- Parameters:
value- allowed object isString
-
getComment
public java.lang.String getComment()
Gets the value of the comment property.- Returns:
- possible object is
String
-
setComment
public void setComment(java.lang.String value)
Sets the value of the comment property.- Parameters:
value- allowed object isString
-
getMin
public java.lang.Integer getMin()
Gets the value of the min property.- Returns:
- possible object is
Integer
-
setMin
public void setMin(java.lang.Integer value)
Sets the value of the min property.- Parameters:
value- allowed object isInteger
-
getMax
public java.lang.String getMax()
Gets the value of the max property.- Returns:
- possible object is
String
-
setMax
public void setMax(java.lang.String value)
Sets the value of the max property.- Parameters:
value- allowed object isString
-
isMustSupport
public java.lang.Boolean isMustSupport()
Gets the value of the mustSupport property.- Returns:
- possible object is
Boolean
-
setMustSupport
public void setMustSupport(java.lang.Boolean value)
Sets the value of the mustSupport property.- Parameters:
value- allowed object isBoolean
-
withTypeSpecifier
public ClassInfoElement withTypeSpecifier(TypeSpecifier value)
-
withElementTypeSpecifier
public ClassInfoElement withElementTypeSpecifier(TypeSpecifier value)
-
withBinding
public ClassInfoElement withBinding(BindingInfo value)
-
withConstraint
public ClassInfoElement withConstraint(ConstraintInfo... values)
-
withConstraint
public ClassInfoElement withConstraint(java.util.Collection<ConstraintInfo> values)
-
withName
public ClassInfoElement withName(java.lang.String value)
-
withType
public ClassInfoElement withType(java.lang.String value)
-
withElementType
public ClassInfoElement withElementType(java.lang.String value)
-
withProhibited
public ClassInfoElement withProhibited(java.lang.Boolean value)
-
withOneBased
public ClassInfoElement withOneBased(java.lang.Boolean value)
-
withTarget
public ClassInfoElement withTarget(java.lang.String value)
-
withLabel
public ClassInfoElement withLabel(java.lang.String value)
-
withDescription
public ClassInfoElement withDescription(java.lang.String value)
-
withDefinition
public ClassInfoElement withDefinition(java.lang.String value)
-
withComment
public ClassInfoElement withComment(java.lang.String value)
-
withMin
public ClassInfoElement withMin(java.lang.Integer value)
-
withMax
public ClassInfoElement withMax(java.lang.String value)
-
withMustSupport
public ClassInfoElement withMustSupport(java.lang.Boolean value)
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
-