Class LangType


  • public class LangType
    extends java.lang.Object

    Java class for LangType complex type.

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

     <complexType name="LangType">
     <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>string">
     <attribute ref="{http://www.w3.org/XML/1998/namespace}lang default="en""/>
     </extension>
     </simpleContent>
     </complexType>
     

    The LangType object defines the language to be used. By default, the language is set to English.

    • Constructor Summary

      Constructors 
      Constructor Description
      LangType()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object get​(java.lang.String propName)
      Gets the value of the requested property
      java.lang.String getDataType​(java.lang.String propName)
      Gets the Java type of the value of the provided property.
      java.lang.String getLang()
      Gets the value of the lang property.
      static java.util.List getPropertyNames​(java.lang.String entityTypeName)
      Gets a list of all supported properties for this model object, LangType
      static java.util.HashSet getSubTypes()
      Gets a set of any model objects which extend this model object, LangType
      java.util.ArrayList getSuperTypes()
      Gets a list of any model objects which this model object, LangType, is an extension of.
      java.lang.String getTypeName()
      Gets the name of this model object, LangType
      java.lang.String getValue()
      Gets the value of the value property.
      boolean isSet​(java.lang.String propName)
      Returns true if the requested property is set; false, otherwise.
      boolean isSetLang()
      Returns true if the lang property is set; false, otherwise.
      boolean isSetValue()
      Returns true if the value property is set; false, otherwise.
      boolean isSubType​(java.lang.String superTypeName)
      Returns a true if the provided model object is one that this model object extends; false, otherwise.
      void set​(java.lang.String propName, java.lang.Object value)
      Sets the value of the provided property to the provided value.
      void setLang​(java.lang.String value)
      Sets the value of the lang property.
      void setValue​(java.lang.String value)
      Sets the value of the value property.
      java.lang.String toString()
      Returns this model object, LangType, and its contents as a String
      void unset​(java.lang.String propName)
      Sets the value of provided property to null.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LangType

        public LangType()
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Gets the value of the value property.
        Returns:
        possible object is String
      • setValue

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

        public boolean isSetValue()
        Returns true if the value property is set; false, otherwise.
        Returns:
        returned object is boolean
      • getLang

        public java.lang.String getLang()
        Gets the value of the lang property.
        Returns:
        possible object is String
      • setLang

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

        public boolean isSetLang()
        Returns true if the lang property is set; false, otherwise.
        Returns:
        returned object is boolean
      • get

        public java.lang.Object get​(java.lang.String propName)
        Gets the value of the requested property
        Parameters:
        propName - allowed object is String
        Returns:
        returned object is Object
      • isSet

        public boolean isSet​(java.lang.String propName)
        Returns true if the requested property is set; false, otherwise.
        Returns:
        returned object is boolean
      • set

        public void set​(java.lang.String propName,
                        java.lang.Object value)
        Sets the value of the provided property to the provided value.
        Parameters:
        propName - allowed object is String
        value - allowed object is Object
      • unset

        public void unset​(java.lang.String propName)
        Sets the value of provided property to null.
        Parameters:
        propName - allowed object is String
      • getTypeName

        public java.lang.String getTypeName()
        Gets the name of this model object, LangType
        Returns:
        returned object is String
      • getPropertyNames

        public static java.util.List getPropertyNames​(java.lang.String entityTypeName)
        Gets a list of all supported properties for this model object, LangType
        Parameters:
        entityTypeName - allowed object is String
        Returns:
        returned object is List
      • getDataType

        public java.lang.String getDataType​(java.lang.String propName)
        Gets the Java type of the value of the provided property. For example: String, List
        Parameters:
        propName - allowed object is String
        Returns:
        returned object is String
      • getSuperTypes

        public java.util.ArrayList getSuperTypes()
        Gets a list of any model objects which this model object, LangType, is an extension of.
        Returns:
        returned object is ArrayList
      • isSubType

        public boolean isSubType​(java.lang.String superTypeName)
        Returns a true if the provided model object is one that this model object extends; false, otherwise.
        Parameters:
        superTypeName - allowed object is String
        Returns:
        returned object is boolean
      • getSubTypes

        public static java.util.HashSet getSubTypes()
        Gets a set of any model objects which extend this model object, LangType
        Returns:
        returned object is HashSet
      • toString

        public java.lang.String toString()
        Returns this model object, LangType, and its contents as a String
        Overrides:
        toString in class java.lang.Object
        Returns:
        returned object is String