Class ConstrainedByConstraint

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

public class ConstrainedByConstraint extends Constraints
The ConstrainedByConstraint class represents an ASN.1 CONSTRAINED BY constraint. This constraint is user defined and is illustrated in the following examples:

     PrimeNumber ::= INTEGER (CONSTRAINED BY {--<FUNCNAME "PrimeCheck">--})
     NonPrime ::= INTEGER (CONSTRAINED BY { -- must not be prime -- })
    
Since:
ASN.1/Java 2.1
  • Method Details

    • getExternalChecker

      public ExternalChecker getExternalChecker()
      Return the ExternalChecker object. Your application will include a class which implements the ExternalChecker class, thereby defining a customized constraint.
      Returns:
      ExternalChecker object