Class X_AD_Sequence

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_AD_Sequence
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_AD_Sequence, I_Persistent, Evaluatee
Direct Known Subclasses:
MSequence

public class X_AD_Sequence extends PO implements I_AD_Sequence, I_Persistent
Generated Model for AD_Sequence
Version:
Release 11 - $Id$
Author:
iDempiere (generated)
See Also:
  • Constructor Details

    • X_AD_Sequence

      public X_AD_Sequence(Properties ctx, int AD_Sequence_ID, String trxName)
      Standard Constructor
    • X_AD_Sequence

      public X_AD_Sequence(Properties ctx, int AD_Sequence_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_AD_Sequence

      public X_AD_Sequence(Properties ctx, String AD_Sequence_UU, String trxName)
      Standard Constructor
    • X_AD_Sequence

      public X_AD_Sequence(Properties ctx, String AD_Sequence_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_AD_Sequence

      public X_AD_Sequence(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
  • Method Details

    • get_AccessLevel

      protected int get_AccessLevel()
      AccessLevel
      Specified by:
      get_AccessLevel in class PO
      Returns:
      6 - System - Client
    • initPO

      protected POInfo initPO(Properties ctx)
      Load Meta Data
      Specified by:
      initPO in class PO
      Parameters:
      ctx - context
      Returns:
      Meta data of PO
    • toString

      public String toString()
      Description copied from class: PO
      String representation
      Overrides:
      toString in class PO
      Returns:
      String representation
    • setAD_Sequence_ID

      public void setAD_Sequence_ID(int AD_Sequence_ID)
      Set Sequence.
      Specified by:
      setAD_Sequence_ID in interface I_AD_Sequence
      Parameters:
      AD_Sequence_ID - Document Sequence
    • getAD_Sequence_ID

      public int getAD_Sequence_ID()
      Get Sequence.
      Specified by:
      getAD_Sequence_ID in interface I_AD_Sequence
      Returns:
      Document Sequence
    • setAD_Sequence_UU

      public void setAD_Sequence_UU(String AD_Sequence_UU)
      Set AD_Sequence_UU.
      Specified by:
      setAD_Sequence_UU in interface I_AD_Sequence
      Parameters:
      AD_Sequence_UU - AD_Sequence_UU
    • getAD_Sequence_UU

      public String getAD_Sequence_UU()
      Get AD_Sequence_UU.
      Specified by:
      getAD_Sequence_UU in interface I_AD_Sequence
      Returns:
      AD_Sequence_UU
    • setCurrentNext

      public void setCurrentNext(int CurrentNext)
      Set Current Next.
      Specified by:
      setCurrentNext in interface I_AD_Sequence
      Parameters:
      CurrentNext - The next number to be used
    • getCurrentNext

      public int getCurrentNext()
      Get Current Next.
      Specified by:
      getCurrentNext in interface I_AD_Sequence
      Returns:
      The next number to be used
    • setCurrentNextSys

      public void setCurrentNextSys(int CurrentNextSys)
      Set Current Next (System).
      Specified by:
      setCurrentNextSys in interface I_AD_Sequence
      Parameters:
      CurrentNextSys - Next sequence for system use
    • getCurrentNextSys

      public int getCurrentNextSys()
      Get Current Next (System).
      Specified by:
      getCurrentNextSys in interface I_AD_Sequence
      Returns:
      Next sequence for system use
    • setDateColumn

      public void setDateColumn(String DateColumn)
      Set Date Column.
      Specified by:
      setDateColumn in interface I_AD_Sequence
      Parameters:
      DateColumn - Fully qualified date column
    • getDateColumn

      public String getDateColumn()
      Get Date Column.
      Specified by:
      getDateColumn in interface I_AD_Sequence
      Returns:
      Fully qualified date column
    • setDecimalPattern

      public void setDecimalPattern(String DecimalPattern)
      Set Decimal Pattern.
      Specified by:
      setDecimalPattern in interface I_AD_Sequence
      Parameters:
      DecimalPattern - Java Decimal Pattern
    • getDecimalPattern

      public String getDecimalPattern()
      Get Decimal Pattern.
      Specified by:
      getDecimalPattern in interface I_AD_Sequence
      Returns:
      Java Decimal Pattern
    • setDescription

      public void setDescription(String Description)
      Set Description.
      Specified by:
      setDescription in interface I_AD_Sequence
      Parameters:
      Description - Optional short description of the record
    • getDescription

      public String getDescription()
      Get Description.
      Specified by:
      getDescription in interface I_AD_Sequence
      Returns:
      Optional short description of the record
    • setIncrementNo

      public void setIncrementNo(int IncrementNo)
      Set Increment.
      Specified by:
      setIncrementNo in interface I_AD_Sequence
      Parameters:
      IncrementNo - The number to increment the last document number by
    • getIncrementNo

      public int getIncrementNo()
      Get Increment.
      Specified by:
      getIncrementNo in interface I_AD_Sequence
      Returns:
      The number to increment the last document number by
    • setIsAudited

      public void setIsAudited(boolean IsAudited)
      Set Activate Audit.
      Specified by:
      setIsAudited in interface I_AD_Sequence
      Parameters:
      IsAudited - Activate Audit Trail of what numbers are generated
    • isAudited

      public boolean isAudited()
      Get Activate Audit.
      Specified by:
      isAudited in interface I_AD_Sequence
      Returns:
      Activate Audit Trail of what numbers are generated
    • setIsAutoSequence

      public void setIsAutoSequence(boolean IsAutoSequence)
      Set Auto numbering.
      Specified by:
      setIsAutoSequence in interface I_AD_Sequence
      Parameters:
      IsAutoSequence - Automatically assign the next number
    • isAutoSequence

      public boolean isAutoSequence()
      Get Auto numbering.
      Specified by:
      isAutoSequence in interface I_AD_Sequence
      Returns:
      Automatically assign the next number
    • setIsOrgLevelSequence

      public void setIsOrgLevelSequence(boolean IsOrgLevelSequence)
      Set Organization level.
      Specified by:
      setIsOrgLevelSequence in interface I_AD_Sequence
      Parameters:
      IsOrgLevelSequence - This sequence can be defined for each organization
    • isOrgLevelSequence

      public boolean isOrgLevelSequence()
      Get Organization level.
      Specified by:
      isOrgLevelSequence in interface I_AD_Sequence
      Returns:
      This sequence can be defined for each organization
    • setIsTableID

      public void setIsTableID(boolean IsTableID)
      Set Used for Record ID.
      Specified by:
      setIsTableID in interface I_AD_Sequence
      Parameters:
      IsTableID - The document number will be used as the record key
    • isTableID

      public boolean isTableID()
      Get Used for Record ID.
      Specified by:
      isTableID in interface I_AD_Sequence
      Returns:
      The document number will be used as the record key
    • setName

      public void setName(String Name)
      Set Name.
      Specified by:
      setName in interface I_AD_Sequence
      Parameters:
      Name - Alphanumeric identifier of the entity
    • getName

      public String getName()
      Get Name.
      Specified by:
      getName in interface I_AD_Sequence
      Returns:
      Alphanumeric identifier of the entity
    • getKeyNamePair

      public KeyNamePair getKeyNamePair()
      Get Record ID/ColumnName
      Returns:
      ID/ColumnName pair
    • setOrgColumn

      public void setOrgColumn(String OrgColumn)
      Set Org Column.
      Specified by:
      setOrgColumn in interface I_AD_Sequence
      Parameters:
      OrgColumn - Fully qualified Organization column (AD_Org_ID)
    • getOrgColumn

      public String getOrgColumn()
      Get Org Column.
      Specified by:
      getOrgColumn in interface I_AD_Sequence
      Returns:
      Fully qualified Organization column (AD_Org_ID)
    • setPrefix

      public void setPrefix(String Prefix)
      Set Prefix.
      Specified by:
      setPrefix in interface I_AD_Sequence
      Parameters:
      Prefix - Prefix before the sequence number
    • getPrefix

      public String getPrefix()
      Get Prefix.
      Specified by:
      getPrefix in interface I_AD_Sequence
      Returns:
      Prefix before the sequence number
    • setStartNewMonth

      public void setStartNewMonth(boolean StartNewMonth)
      Set Restart sequence every month.
      Specified by:
      setStartNewMonth in interface I_AD_Sequence
      Parameters:
      StartNewMonth - Restart sequence every month
    • isStartNewMonth

      public boolean isStartNewMonth()
      Get Restart sequence every month.
      Specified by:
      isStartNewMonth in interface I_AD_Sequence
      Returns:
      Restart sequence every month
    • setStartNewYear

      public void setStartNewYear(boolean StartNewYear)
      Set Restart sequence every Year.
      Specified by:
      setStartNewYear in interface I_AD_Sequence
      Parameters:
      StartNewYear - Restart the sequence with Start on every 1/1
    • isStartNewYear

      public boolean isStartNewYear()
      Get Restart sequence every Year.
      Specified by:
      isStartNewYear in interface I_AD_Sequence
      Returns:
      Restart the sequence with Start on every 1/1
    • setStartNo

      public void setStartNo(int StartNo)
      Set Start No.
      Specified by:
      setStartNo in interface I_AD_Sequence
      Parameters:
      StartNo - Starting number/position
    • getStartNo

      public int getStartNo()
      Get Start No.
      Specified by:
      getStartNo in interface I_AD_Sequence
      Returns:
      Starting number/position
    • setSuffix

      public void setSuffix(String Suffix)
      Set Suffix.
      Specified by:
      setSuffix in interface I_AD_Sequence
      Parameters:
      Suffix - Suffix after the number
    • getSuffix

      public String getSuffix()
      Get Suffix.
      Specified by:
      getSuffix in interface I_AD_Sequence
      Returns:
      Suffix after the number
    • setVFormat

      public void setVFormat(String VFormat)
      Set Value Format.
      Specified by:
      setVFormat in interface I_AD_Sequence
      Parameters:
      VFormat - Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09"
    • getVFormat

      public String getVFormat()
      Get Value Format.
      Specified by:
      getVFormat in interface I_AD_Sequence
      Returns:
      Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09"