com.engiweb.profilemanager.common.bean

Class Block

  • java.lang.Object
    • com.engiweb.profilemanager.common.bean.Block
  • All Implemented Interfaces:
    java.io.Serializable


    public class Block
    extends java.lang.Object
    implements java.io.Serializable
    Author:
    ZinniL
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright
    • Constructor Summary

      Constructors 
      Constructor and Description
      Block() 
    • Constructor Detail

      • Block

        public Block()
    • Method Detail

      • getStringBlocco

        public java.lang.Integer[] getStringBlocco()
      • setStringBlocco

        public void setStringBlocco(java.lang.Integer[] stringBlocco)
      • setLock

        public void setLock(LockType lockType,
                            int value)
      • getLock

        public int getLock(LockType lockType)
      • setBlocco

        @Deprecated
        public void setBlocco(int position,
                                          int value)
        Deprecated. 
      • getBlocco

        @Deprecated
        public int getBlocco(int position)
        Deprecated. 
      • getFind

        public java.lang.String getFind()
        Metodo che restituisce la stringa di blocco per una ricerca. Se il codice non � valorizzato restituisco un _
        Returns:
      • getInsert

        public java.lang.String getInsert()
        Metodo che restituisce la stringa di blocco per una operazione di insert Se il codice non � valorizzato restituisco 0
        Returns:
      • getIntBlock

        public int[] getIntBlock()
      • parse

        public void parse(java.lang.String stringaBlocco)
      • getBlockLength

        public int getBlockLength()
      • copyTo

        public void copyTo(Block currentBlock)
        copia il this.block su currentBlock
        Parameters:
        currentBlock -
      • getEnable

        public int getEnable()
        0 abilitato 1 disabilitato -1 invalid
        Returns:
      • isEmpty

        public boolean isEmpty()
      • merge

        public void merge(Block extBlock)
        Copia sull'oggetto corrente this. i valori maggiori di 0 passati con l'oggetto extBlock
        Parameters:
        extBlock - blocco passato da fuori