Content of a Type Definition

The following attributes of a type definition are important when creating and querying metadata. This information is available on the Advanced tab of a type definition’s Properties window. In addition, you can get this information by querying the appropriate TypeDefinition metadata object.
MetadataType
specifies the primary SAS Metadata Model metadata type in the object type’s logical metadata definition. This is always a PrimaryType subtype in the SAS Metadata Model.
TypeName
specifies a name that uniquely identifies the type definition in the SAS type dictionary.
Many type definitions use the same SAS Metadata Model metadata type as the primary object in their logical metadata definition. For example, the type definitions for both the SASReport and InformationMap object types specify Transformation as their metadata type. To ensure that the appropriate type definition is used to retrieve an object type’s logical metadata definition, SAS wizards and procedures that create metadata store the TypeName value that is appropriate for each object type in the primary object’s PublicType attribute. When listing objects, the PublicType value is used with the MetadataType to identify the object type.
ContainerType
specifies the object type that contains the object. This is usually Folder, but it can be another object type from the SAS type dictionary. For example, a Column object is contained by a Table object.
ContainerAssociation
specifies the association name that links the primary object in a logical metadata definition to its container. Object types that are contained by a folder have a Trees association to the folder. (A folder is represented by an object of the Tree metadata type in the SAS Metadata Model.) A Column object has a Table association to the table that contains it.
DefinitionVersion
specifies a double value in the form MMMmmbbbb.0 that indicates the type definition’s current usage version. M=major version, m=minor version, and b=build.
SupportedObjectVersionMin
specifies a double value in the form MMMmmbbbb.0 that indicates the minimum usage version supported for this type definition.
SupportedObjectVersionMax
specifies a double value in the form MMMmmbbbb.0 that indicates the maximum usage version supported for this type definition.
Clients can specify a type definition version for an object by storing a version value in the primary object’s UsageVersion attribute. The DefinitionVersion, SupportedObjectVersionMin, and SupportedObjectVersionMax attributes indicate the range of versions that are available for a type definition. For more information about the TypeDefinition attributes, see SAS 9.3 Metadata Model: Reference.