Class 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 java.lang.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>
     
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)  
      java.lang.StringBuilder appendFields​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)  
      boolean equals​(java.lang.Object object)  
      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)  
      java.lang.String getConstraint()
      Gets the value of the constraint property.
      java.lang.String getConstraintType()
      Gets the value of the constraintType property.
      java.lang.String getName()
      Gets the value of the name property.
      TypeSpecifier getTypeSpecifier()
      Gets the value of the typeSpecifier property.
      int hashCode()  
      int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)  
      void setConstraint​(java.lang.String value)
      Sets the value of the constraint property.
      void setConstraintType​(java.lang.String value)
      Sets the value of the constraintType property.
      void setName​(java.lang.String value)
      Sets the value of the name property.
      void setTypeSpecifier​(TypeSpecifier value)
      Sets the value of the typeSpecifier property.
      java.lang.String toString()  
      TypeParameterInfo withConstraint​(java.lang.String value)  
      TypeParameterInfo withConstraintType​(java.lang.String value)  
      TypeParameterInfo withName​(java.lang.String value)  
      TypeParameterInfo withTypeSpecifier​(TypeSpecifier value)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • name

        protected java.lang.String name
      • constraint

        protected java.lang.String constraint
      • constraintType

        protected java.lang.String constraintType
    • Constructor Detail

      • TypeParameterInfo

        public TypeParameterInfo()
    • 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 is TypeSpecifier
      • 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 is String
      • getConstraint

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

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

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

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

        public TypeParameterInfo withConstraint​(java.lang.String value)
      • withConstraintType

        public TypeParameterInfo withConstraintType​(java.lang.String 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:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.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 java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.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:
        append in interface org.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:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2