Class TableConstraint

java.lang.Object
com.oss.metadata.Constraints
com.oss.metadata.TableConstraint

public class TableConstraint extends Constraints
The TableConstraint class represents an ASN.1 table constraint. Each OpenType has a table constraint. The table constraint references an information object set. It is used to determine the value at the time of automatic encoding and decoding. So for example,
    Procedure ::= SEQUENCE {
         opcode INTEGER,
         parameter SEQUENCE {
           parameterId PARAMETER.&id ({KNOWN-PARAMETERS}),
           value PARAMETER.&Type ({KNOWN-PARAMETERS}{&#64.parameterId})
         }
   }
PARAMETER.&Type is an OpenType, KNOWN-PARAMETERS is an information object set, and {KNOWN-PARAMETERS} is a table constraint.
Since:
ASN.1/Java 2.1
  • Method Details

    • getInfoObjectSet

      public InfoObjectSet getInfoObjectSet()
      The Information Object Set that this table constraint references.
      Returns:
      information object set
    • getLookupFieldIndex

      public int getLookupFieldIndex()
      Return the index of the field in the information object set.
      Returns:
      field index