Class UserDefinedFieldDef

  • All Implemented Interfaces:
    java.io.Externalizable, java.io.Serializable, java.lang.Cloneable

    public class UserDefinedFieldDef
    extends java.lang.Object
    implements java.io.Externalizable, java.lang.Cloneable
    Definition for a User Defined Field.
    See Also:
    Serialized Form
    • Field Detail

      • DEFAULT_DATE_RESOLUTION

        public static TimeResolution DEFAULT_DATE_RESOLUTION
      • DEFAULT_DECIMAL_SCALE

        public static int DEFAULT_DECIMAL_SCALE
    • Constructor Detail

      • UserDefinedFieldDef

        public UserDefinedFieldDef()
      • UserDefinedFieldDef

        public UserDefinedFieldDef​(java.lang.String name,
                                   SchemaField.Type type,
                                   java.lang.String className)
    • Method Detail

      • getType

        public SchemaField.Type getType()
        Get the return type for the user defined field.
      • setType

        public void setType​(SchemaField.Type value)
        Set the return type for the user defined field.
      • getName

        public java.lang.String getName()
        Get the name for the user defined field.
      • setName

        public void setName​(java.lang.String value)
        Set the name for the user defined field.
      • getClassName

        public java.lang.String getClassName()
        Get the class name for the user defined field implementation.
      • setClassName

        public void setClassName​(java.lang.String value)
        Set the class name for the user defined field implementation.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • readExternal

        public void readExternal​(java.io.ObjectInput in)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Specified by:
        readExternal in interface java.io.Externalizable
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • writeExternal

        public void writeExternal​(java.io.ObjectOutput out)
                           throws java.io.IOException
        Specified by:
        writeExternal in interface java.io.Externalizable
        Throws:
        java.io.IOException