Class GeneratedUnit

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable
    Direct Known Subclasses:
    Unit

    public abstract class GeneratedUnit
    extends GenericItem
    Generated class for type Unit.
    See Also:
    Serialized Form
    • Field Detail

      • CODE

        public static final java.lang.String CODE
        Qualifier of the Unit.code attribute
        See Also:
        Constant Field Values
      • CONVERSION

        public static final java.lang.String CONVERSION
        Qualifier of the Unit.conversion attribute
        See Also:
        Constant Field Values
      • NAME

        public static final java.lang.String NAME
        Qualifier of the Unit.name attribute
        See Also:
        Constant Field Values
      • UNITTYPE

        public static final java.lang.String UNITTYPE
        Qualifier of the Unit.unitType attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedUnit

        public GeneratedUnit()
    • Method Detail

      • getCode

        public java.lang.String getCode​(SessionContext ctx)
        Generated method - Getter of the Unit.code attribute.
        Returns:
        the code
      • getCode

        public java.lang.String getCode()
        Generated method - Getter of the Unit.code attribute.
        Returns:
        the code
      • setCode

        public void setCode​(SessionContext ctx,
                            java.lang.String value)
        Generated method - Setter of the Unit.code attribute.
        Parameters:
        value - the code
      • setCode

        public void setCode​(java.lang.String value)
        Generated method - Setter of the Unit.code attribute.
        Parameters:
        value - the code
      • getConversion

        public java.lang.Double getConversion​(SessionContext ctx)
        Generated method - Getter of the Unit.conversion attribute.
        Returns:
        the conversion
      • getConversion

        public java.lang.Double getConversion()
        Generated method - Getter of the Unit.conversion attribute.
        Returns:
        the conversion
      • getConversionAsPrimitive

        public double getConversionAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the Unit.conversion attribute.
        Returns:
        the conversion
      • getConversionAsPrimitive

        public double getConversionAsPrimitive()
        Generated method - Getter of the Unit.conversion attribute.
        Returns:
        the conversion
      • setConversion

        public void setConversion​(SessionContext ctx,
                                  java.lang.Double value)
        Generated method - Setter of the Unit.conversion attribute.
        Parameters:
        value - the conversion
      • setConversion

        public void setConversion​(java.lang.Double value)
        Generated method - Setter of the Unit.conversion attribute.
        Parameters:
        value - the conversion
      • setConversion

        public void setConversion​(SessionContext ctx,
                                  double value)
        Generated method - Setter of the Unit.conversion attribute.
        Parameters:
        value - the conversion
      • setConversion

        public void setConversion​(double value)
        Generated method - Setter of the Unit.conversion attribute.
        Parameters:
        value - the conversion
      • getName

        public java.lang.String getName​(SessionContext ctx)
        Generated method - Getter of the Unit.name attribute.
        Returns:
        the name
      • getName

        public java.lang.String getName()
        Generated method - Getter of the Unit.name attribute.
        Returns:
        the name
      • getAllName

        public java.util.Map<Language,​java.lang.String> getAllName​(SessionContext ctx)
        Generated method - Getter of the Unit.name attribute.
        Returns:
        the localized name
      • getAllName

        public java.util.Map<Language,​java.lang.String> getAllName()
        Generated method - Getter of the Unit.name attribute.
        Returns:
        the localized name
      • setName

        public void setName​(SessionContext ctx,
                            java.lang.String value)
        Generated method - Setter of the Unit.name attribute.
        Parameters:
        value - the name
      • setName

        public void setName​(java.lang.String value)
        Generated method - Setter of the Unit.name attribute.
        Parameters:
        value - the name
      • setAllName

        public void setAllName​(SessionContext ctx,
                               java.util.Map<Language,​java.lang.String> value)
        Generated method - Setter of the Unit.name attribute.
        Parameters:
        value - the name
      • setAllName

        public void setAllName​(java.util.Map<Language,​java.lang.String> value)
        Generated method - Setter of the Unit.name attribute.
        Parameters:
        value - the name
      • getUnitType

        public java.lang.String getUnitType​(SessionContext ctx)
        Generated method - Getter of the Unit.unitType attribute.
        Returns:
        the unitType
      • getUnitType

        public java.lang.String getUnitType()
        Generated method - Getter of the Unit.unitType attribute.
        Returns:
        the unitType
      • setUnitType

        public void setUnitType​(SessionContext ctx,
                                java.lang.String value)
        Generated method - Setter of the Unit.unitType attribute.
        Parameters:
        value - the unitType
      • setUnitType

        public void setUnitType​(java.lang.String value)
        Generated method - Setter of the Unit.unitType attribute.
        Parameters:
        value - the unitType