Class ContainingOctetStringInfo

java.lang.Object
com.oss.metadata.TypeInfo
com.oss.metadata.VectorInfo
com.oss.metadata.ContainingOctetStringInfo

public class ContainingOctetStringInfo extends VectorInfo
The ContainingOctetStringInfo class represents the properties of an ASN.1 OCTET STRING type which is constrained by a ContentsConstraint. ContentsConstraints are supported since version 1.5 of the runtime.
Since:
ASN.1/Java 2.1
  • Method Details

    • getContainedType

      public TypeInfo getContainedType() throws MetadataException
      Return the type metadata for the contained type if it exists.
      Returns:
      type info for the contained type or null if there is no CONTAINING clause.
      Throws:
      MetadataException - if an error occurs when the metadata is accessed.
    • getContainedType

      public TypeInfo getContainedType(Object context) throws MetadataException
      Return the type metadata for the contained type if it exists.
      Parameters:
      context - project environment
      Returns:
      type info for the contained type or null if there is no CONTAINING clause
      Throws:
      MetadataException - if an error occurs when the metadata is accessed.