Class CollectionInfo

java.lang.Object
com.oss.metadata.TypeInfo
com.oss.metadata.CollectionInfo
Direct Known Subclasses:
ChoiceInfo, SequenceInfo, SetInfo

public class CollectionInfo extends TypeInfo
The CollectionInfo class defines common properties of ASN.1 collection types: SEQUENCE, SET and CHOICE
Since:
ASN.1/Java 2.1
  • Constructor Details

  • Method Details

    • isSimpleType

      public boolean isSimpleType()
      Return true if the type is a simple type. The type is simple if it is not a set, sequence, set-of, sequence-of, choice, embedded-pdv, external or unrestricted character string type.
      Overrides:
      isSimpleType in class TypeInfo
      Returns:
      true if the type is a simple type.
    • getFields

      public Fields getFields()
      Return the list of fields for the type.
      Returns:
      list of fields
    • numberOfKnownExtensions

      public int numberOfKnownExtensions()
      Return the number of fields that appear after the extension marker.
      Returns:
      number of fields that appear after the extension marker.