Class DateObjectDescription

    • Constructor Detail

      • DateObjectDescription

        public DateObjectDescription()
        Creates a new object description.
    • Method Detail

      • createObject

        public java.lang.Object createObject()
        Creates an object based on this description.
        Returns:
        The object.
      • getIntParameter

        private int getIntParameter​(java.lang.String param)
        Returns a parameter value as an int.
        Parameters:
        param - the parameter name.
        Returns:
        The parameter value.
      • setParameterFromObject

        public void setParameterFromObject​(java.lang.Object o)
                                    throws ObjectFactoryException
        Sets the parameters of this description object to match the supplied object.
        Parameters:
        o - the object (should be an instance of Date).
        Throws:
        ObjectFactoryException - if the object is not an instance of Date.