Class DataField

    • Constructor Detail

      • DataField

        protected DataField​(java.lang.String name,
                            java.lang.String title,
                            DataType type)
      • DataField

        protected DataField​(java.lang.reflect.Field f,
                            ClassAnnotator annotator,
                            DataType inType)
        Used by Introspector.
      • DataField

        protected DataField​(java.lang.String name,
                            java.lang.reflect.Method method,
                            ClassAnnotator annotator,
                            DataType inType)
        Used by Introspector.
    • Method Detail

      • toString

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

        public final DataType getType()
      • writeTo

        public void writeTo​(java.io.DataOutputStream out,
                            int serial)
                     throws java.io.IOException
        Overrides:
        writeTo in class NamedDescriptor
        Throws:
        java.io.IOException
      • readFields

        protected void readFields​(java.io.DataInputStream in,
                                  ClassDescriptor.TypeResolver resolver,
                                  int serial)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • readFrom

        public static DataField readFrom​(java.io.DataInputStream in,
                                         ClassDescriptor.TypeResolver resolver,
                                         int serial)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • isEquals

        public boolean isEquals​(DataField target)
      • getAttributes

        public abstract java.util.Hashtable<java.lang.String,​java.lang.String> getAttributes()
      • setAttributes

        public abstract void setAttributes​(java.util.Hashtable<java.lang.String,​java.lang.String> attrs)