Class AbsPrimitiveSlotsHolder

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbsPrimitiveSlotsHolder​(String typeName)
      Construct an Abstract descriptor to hold an object of the proper type.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean getBoolean​(String name)
      Utility method that allows getting the value of attributes of type boolean directly as a boolean i.e.
      byte[] getByteSequence​(String name)
      Utility method that allows getting the value of attributes of type byte[] directly as a byte[] i.e.
      Date getDate​(String name)
      Utility method that allows getting the value of attributes of type Date directly as a Date i.e.
      double getDouble​(String name)
      Utility method that allows getting the value of attributes of type double directly as a double i.e.
      float getFloat​(String name)
      Utility method that allows getting the value of attributes of type float directly as a float i.e.
      int getInteger​(String name)
      Utility method that allows getting the value of attributes of type int directly as an int i.e.
      long getLong​(String name)
      Utility method that allows getting the value of attributes of type long directly as a long i.e.
      String getString​(String name)
      Utility method that allows getting the value of attributes of type String directly as a String i.e.
      void set​(String name, boolean value)
      Utility method that allows setting attributes of type boolean without the need of wrapping the new value into an AbsPrimitive.
      void set​(String name, byte[] value)
      Utility method that allows setting attributes of type byte[] without the need of wrapping the new value into an AbsPrimitive.
      void set​(String name, double value)
      Utility method that allows setting attributes of type double without the need of wrapping the new value into an AbsPrimitive.
      void set​(String name, float value)
      Utility method that allows setting attributes of type float without the need of wrapping the new value into an AbsPrimitive.
      void set​(String name, int value)
      Utility method that allows setting attributes of type int without the need of wrapping the new value into an AbsPrimitive.
      void set​(String name, long value)
      Utility method that allows setting attributes of type long without the need of wrapping the new value into an AbsPrimitive.
      void set​(String name, AbsObject value)
      Sets an attribute of the object held by this abstract descriptor.
      void set​(String name, String value)
      Utility method that allows setting attributes of type String without the need of wrapping the new value into an AbsPrimitive.
      void set​(String name, Date value)
      Utility method that allows setting attributes of type Date without the need of wrapping the new value into an AbsPrimitive.
    • Constructor Detail

      • AbsPrimitiveSlotsHolder

        protected AbsPrimitiveSlotsHolder​(String typeName)
        Construct an Abstract descriptor to hold an object of the proper type.
        Parameters:
        typeName - The name of the type of the object held by this abstract descriptor.
    • Method Detail

      • set

        public void set​(String name,
                        String value)
        Utility method that allows setting attributes of type String without the need of wrapping the new value into an AbsPrimitive.
        Parameters:
        name - The name of the attribute to be set.
        value - The new value of the attribute.
      • set

        public void set​(String name,
                        AbsObject value)
        Description copied from class: AbsObjectImpl
        Sets an attribute of the object held by this abstract descriptor.
        Overrides:
        set in class AbsObjectImpl
        Parameters:
        name - The name of the attribute to be set.
        value - The new value of the attribute. If value is null the current mapping with name (if any) is removed.
      • set

        public void set​(String name,
                        boolean value)
        Utility method that allows setting attributes of type boolean without the need of wrapping the new value into an AbsPrimitive.
        Parameters:
        name - The name of the attribute to be set.
        value - The new value of the attribute.
      • set

        public void set​(String name,
                        int value)
        Utility method that allows setting attributes of type int without the need of wrapping the new value into an AbsPrimitive.
        Parameters:
        name - The name of the attribute to be set.
        value - The new value of the attribute.
      • set

        public void set​(String name,
                        long value)
        Utility method that allows setting attributes of type long without the need of wrapping the new value into an AbsPrimitive.
        Parameters:
        name - The name of the attribute to be set.
        value - The new value of the attribute.
      • set

        public void set​(String name,
                        float value)
        Utility method that allows setting attributes of type float without the need of wrapping the new value into an AbsPrimitive.
        Parameters:
        name - The name of the attribute to be set.
        value - The new value of the attribute.
      • set

        public void set​(String name,
                        double value)
        Utility method that allows setting attributes of type double without the need of wrapping the new value into an AbsPrimitive.
        Parameters:
        name - The name of the attribute to be set.
        value - The new value of the attribute.
      • set

        public void set​(String name,
                        Date value)
        Utility method that allows setting attributes of type Date without the need of wrapping the new value into an AbsPrimitive.
        Parameters:
        name - The name of the attribute to be set.
        value - The new value of the attribute.
      • set

        public void set​(String name,
                        byte[] value)
        Utility method that allows setting attributes of type byte[] without the need of wrapping the new value into an AbsPrimitive.
        Parameters:
        name - The name of the attribute to be set.
        value - The new value of the attribute.
      • getString

        public String getString​(String name)
        Utility method that allows getting the value of attributes of type String directly as a String i.e. not wrapped into an AbsPrimitive/code>.
        Parameters:
        name - The name of the attribute to be retrieved.
        value - The value of the attribute.
      • getBoolean

        public boolean getBoolean​(String name)
        Utility method that allows getting the value of attributes of type boolean directly as a boolean i.e. not wrapped into an AbsPrimitive/code>.
        Parameters:
        name - The name of the attribute to be retrieved.
        value - The value of the attribute.
      • getInteger

        public int getInteger​(String name)
        Utility method that allows getting the value of attributes of type int directly as an int i.e. not wrapped into an AbsPrimitive/code>.
        Parameters:
        name - The name of the attribute to be retrieved.
        value - The value of the attribute.
      • getLong

        public long getLong​(String name)
        Utility method that allows getting the value of attributes of type long directly as a long i.e. not wrapped into an AbsPrimitive/code>.
        Parameters:
        name - The name of the attribute to be retrieved.
        value - The value of the attribute.
      • getFloat

        public float getFloat​(String name)
        Utility method that allows getting the value of attributes of type float directly as a float i.e. not wrapped into an AbsPrimitive/code>.
        Parameters:
        name - The name of the attribute to be retrieved.
        value - The value of the attribute.
      • getDouble

        public double getDouble​(String name)
        Utility method that allows getting the value of attributes of type double directly as a double i.e. not wrapped into an AbsPrimitive/code>.
        Parameters:
        name - The name of the attribute to be retrieved.
        value - The value of the attribute.
      • getDate

        public Date getDate​(String name)
        Utility method that allows getting the value of attributes of type Date directly as a Date i.e. not wrapped into an AbsPrimitive/code>.
        Parameters:
        name - The name of the attribute to be retrieved.
        value - The value of the attribute.
      • getByteSequence

        public byte[] getByteSequence​(String name)
        Utility method that allows getting the value of attributes of type byte[] directly as a byte[] i.e. not wrapped into an AbsPrimitive/code>.
        Parameters:
        name - The name of the attribute to be retrieved.
        value - The value of the attribute.