Class BinaryProperty

  • All Implemented Interfaces:
    Property

    public abstract class BinaryProperty
    extends java.lang.Object
    implements Property
    • Constructor Summary

      Constructors 
      Constructor Description
      BinaryProperty()  
    • Method Summary

      Modifier and Type Method Description
      boolean getBoolean()  
      byte getByte()  
      byte[] getBytes()  
      char getChar()  
      java.util.Date getDate()  
      double getDouble()  
      float getFloat()  
      int getInteger()  
      long getLong()  
      short getShort()  
      java.lang.String getString()  
      java.nio.ByteBuffer read()  
      abstract int read​(byte[] bytes, int offs, int len)  
      void set​(boolean b)  
      void set​(byte b)  
      void set​(byte[] data)  
      void set​(char c)  
      void set​(double d)  
      void set​(float f)  
      void set​(int i)  
      void set​(long l)  
      void set​(short s)  
      void set​(java.lang.String s)  
      void set​(java.util.Date date)  
      abstract int size()  
      int write​(byte[] bytes)  
      abstract int write​(byte[] bytes, int offs, int len)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BinaryProperty

        public BinaryProperty()
    • Method Detail

      • size

        public abstract int size()
      • write

        public int write​(byte[] bytes)
      • write

        public abstract int write​(byte[] bytes,
                                  int offs,
                                  int len)
      • read

        public abstract int read​(byte[] bytes,
                                 int offs,
                                 int len)
      • read

        public java.nio.ByteBuffer read()
      • getString

        public java.lang.String getString()
        Specified by:
        getString in interface Property
      • getBoolean

        public boolean getBoolean()
        Specified by:
        getBoolean in interface Property
      • getBytes

        public byte[] getBytes()
        Specified by:
        getBytes in interface Property
      • getByte

        public byte getByte()
        Specified by:
        getByte in interface Property
      • getShort

        public short getShort()
        Specified by:
        getShort in interface Property
      • getLong

        public long getLong()
        Specified by:
        getLong in interface Property
      • getFloat

        public float getFloat()
        Specified by:
        getFloat in interface Property
      • getDouble

        public double getDouble()
        Specified by:
        getDouble in interface Property
      • getDate

        public java.util.Date getDate()
        Specified by:
        getDate in interface Property
      • set

        public void set​(java.lang.String s)
        Specified by:
        set in interface Property
      • set

        public void set​(boolean b)
        Specified by:
        set in interface Property
      • set

        public void set​(byte b)
        Specified by:
        set in interface Property
      • set

        public void set​(short s)
        Specified by:
        set in interface Property
      • set

        public void set​(int i)
        Specified by:
        set in interface Property
      • set

        public void set​(long l)
        Specified by:
        set in interface Property
      • set

        public void set​(float f)
        Specified by:
        set in interface Property
      • set

        public void set​(double d)
        Specified by:
        set in interface Property
      • set

        public void set​(java.util.Date date)
        Specified by:
        set in interface Property
      • getChar

        public char getChar()
        Specified by:
        getChar in interface Property
      • set

        public void set​(char c)
        Specified by:
        set in interface Property
      • set

        public void set​(byte[] data)
        Specified by:
        set in interface Property