Package com.oss.metadata
Class ContainerInfo
java.lang.Object
com.oss.metadata.TypeInfo
com.oss.metadata.VectorInfo
com.oss.metadata.ContainerInfo
The ContainerInfo class represents the properties of an ASN.1
SET or SEQUENCE OF type.
- Since:
- ASN.1/Java 2.1
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the element of the container.Returns the type metadata for an element of the container.getElementType
(Object context) Returns the type metadata for an element of the container.boolean
Return true if the type is a simple type.Methods inherited from class com.oss.metadata.VectorInfo
getBounds, isBounded
Methods inherited from class com.oss.metadata.TypeInfo
createInstance, createInstance, forName, forName, getASN1ModuleName, getASN1TypeName, getClassName, getConstraints, getJavaClass, getJavaClass, getName, getTags, isExtensible, isNullable, isPrimitive, isSorted, isUseableByBER, isUseableByCER, isUseableByDER, isUseableByEXER, isUseableByJSON, isUseableByOER, isUseableByPER, isUseableByXER, isUserClass, isUseThreadContextClassLoader, setUseThreadContextClassLoader
-
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 classTypeInfo
- Returns:
- true if the type is a simple type.
-
getElementType
Returns the type metadata for an element of the container.- Returns:
- TypeInfo of the element type.
- Throws:
MetadataException
- if attempt to resolve the weak reference fails: class could not be found or typeInfo was not available.
-
getElementType
Returns the type metadata for an element of the container.- Parameters:
context
- project environment- Returns:
- TypeInfo of the element type.
- Throws:
MetadataException
- if attempt to resolve the weak reference fails: class could not be found or typeInfo was not available.
-
getElementName
Returns the name of the element of the container.- Returns:
- name of the element or null if element is unnamed.
-