Class TypeParameterInfo

java.lang.Object
org.hl7.elm_modelinfo.r1.TypeParameterInfo
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class TypeParameterInfo extends Object implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
A generic class parameter such as T in MyGeneric.

Java class for TypeParameterInfo complex type.

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

 <complexType name="TypeParameterInfo">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="typeSpecifier" type="{urn:hl7-org:elm-modelinfo:r1}TypeSpecifier" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="constraint" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="constraintType" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • typeSpecifier

      protected TypeSpecifier typeSpecifier
    • name

      protected String name
    • constraint

      protected String constraint
    • constraintType

      protected String constraintType
  • Constructor Details

    • TypeParameterInfo

      public TypeParameterInfo()
  • Method Details

    • 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 is TypeSpecifier
    • 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 is String
    • getConstraint

      public String getConstraint()
      Gets the value of the constraint property.
      Returns:
      possible object is String
    • setConstraint

      public void setConstraint(String value)
      Sets the value of the constraint property.
      Parameters:
      value - allowed object is String
    • getConstraintType

      public String getConstraintType()
      Gets the value of the constraintType property.
      Returns:
      possible object is String
    • setConstraintType

      public void setConstraintType(String value)
      Sets the value of the constraintType property.
      Parameters:
      value - allowed object is String
    • withTypeSpecifier

      public TypeParameterInfo withTypeSpecifier(TypeSpecifier value)
    • withName

      public TypeParameterInfo withName(String value)
    • withConstraint

      public TypeParameterInfo withConstraint(String value)
    • withConstraintType

      public TypeParameterInfo withConstraintType(String value)
    • 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.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2