tv.amwa.maj.meta
Class TypeDefinitionStrongObjectReference
java.lang.Object
tv.amwa.maj.meta.MetaDefinition
tv.amwa.maj.meta.TypeDefinition
tv.amwa.maj.meta.TypeDefinitionObjectReference
tv.amwa.maj.meta.TypeDefinitionStrongObjectReference
- All Implemented Interfaces:
- Serializable, DefinitionType, MetaDefinition, TypeDefinition, TypeDefinitionObjectReference, TypeDefinitionStrongObjectReference, XMLSerializable, MAJCommon
@AAFClass(uuid1=218169601,
uuid2=517,
uuid3=0,
uuid4={6,14,43,52,2,6,1,1},
definedName="TypeDefinitionStrongObjectReference",
description="The TypeDefinitionStrongObjectReference class defines a property type that defines an object relationship where the target of the strong reference is owned by the object with the property with the TypeDefinitionStrongObjectReference type.")
public final class TypeDefinitionStrongObjectReference
- extends TypeDefinitionObjectReference
- implements TypeDefinitionStrongObjectReference, Serializable, MAJCommon
Implements the definition of a property type that defines an object relationship where the target of the strong
reference is owned by the object with a property of the TypeDefinitionStrongObjectReference type.
THE COMMENTS FOR THIS CLASS ARE INCOMPLETE.
- Author:
- Richard Cartwright
- See Also:
- Serialized Form
Constructor Summary |
TypeDefinitionStrongObjectReference(AUID identification,
String typeName,
ClassDefinition referencedType)
Creates and initializes the strong object reference type definition, which defines
a property type that defines an object relationship where the target of the strong reference
is owned by the object with the property. |
Methods inherited from class tv.amwa.maj.meta.MetaDefinition |
castFromInterface, equals, getAUID, getDescription, getIdentification, getName, hashCode, setDescription, setName, setPropertiesFromInterface, toString |
ContentStorage
public static final TypeDefinitionStrongObjectReference ContentStorage
Dictionary
public static final TypeDefinitionStrongObjectReference Dictionary
EssenceDescriptor
public static final TypeDefinitionStrongObjectReference EssenceDescriptor
NetworkLocator
public static final TypeDefinitionStrongObjectReference NetworkLocator
OperationGroup
public static final TypeDefinitionStrongObjectReference OperationGroup
Segment
public static final TypeDefinitionStrongObjectReference Segment
SourceClip
public static final TypeDefinitionStrongObjectReference SourceClip
SourceReference
public static final TypeDefinitionStrongObjectReference SourceReference
ClassDefinition
public static final TypeDefinitionStrongObjectReference ClassDefinition
CodecDefinition
public static final TypeDefinitionStrongObjectReference CodecDefinition
Component
public static final TypeDefinitionStrongObjectReference Component
ContainerDefinition
public static final TypeDefinitionStrongObjectReference ContainerDefinition
ControlPoint
public static final TypeDefinitionStrongObjectReference ControlPoint
DataDefinition
public static final TypeDefinitionStrongObjectReference DataDefinition
EssenceData
public static final TypeDefinitionStrongObjectReference EssenceData
Identification
public static final TypeDefinitionStrongObjectReference Identification
InterpolationDefinition
public static final TypeDefinitionStrongObjectReference InterpolationDefinition
Locator
public static final TypeDefinitionStrongObjectReference Locator
Mob
public static final TypeDefinitionStrongObjectReference Mob
MobSlot
public static final TypeDefinitionStrongObjectReference MobSlot
OperationDefinition
public static final TypeDefinitionStrongObjectReference OperationDefinition
Parameter
public static final TypeDefinitionStrongObjectReference Parameter
ParameterDefinition
public static final TypeDefinitionStrongObjectReference ParameterDefinition
PluginDefinition
public static final TypeDefinitionStrongObjectReference PluginDefinition
PropertyDefinition
public static final TypeDefinitionStrongObjectReference PropertyDefinition
TaggedValue
public static final TypeDefinitionStrongObjectReference TaggedValue
TypeDefinition
public static final TypeDefinitionStrongObjectReference TypeDefinition
KLVData
public static final TypeDefinitionStrongObjectReference KLVData
DescriptiveFramework
public static final TypeDefinitionStrongObjectReference DescriptiveFramework
KLVDataDefinition
public static final TypeDefinitionStrongObjectReference KLVDataDefinition
TaggedValueDefinition
public static final TypeDefinitionStrongObjectReference TaggedValueDefinition
SubDescriptor
public static final TypeDefinitionStrongObjectReference SubDescriptor
FileDescriptor
public static final TypeDefinitionStrongObjectReference FileDescriptor
RIFFChunk
public static final TypeDefinitionStrongObjectReference RIFFChunk
DescriptiveObject
public static final TypeDefinitionStrongObjectReference DescriptiveObject
TypeDefinitionStrongObjectReference
public TypeDefinitionStrongObjectReference(AUID identification,
@AAFString
String typeName,
ClassDefinition referencedType)
throws NullPointerException
Creates and initializes the strong object reference type definition, which defines
a property type that defines an object relationship where the target of the strong reference
is owned by the object with the property. An object can be the target of only one strong
reference.
Creating new and unregistered type definitions is not recommended as this may cause
interoperability issues with other systems. The official registry of type definitions
is available from SMPTE at SMPTE Metadata Registries
And Related Items. The full range of data types documented in the AAF 1.1 object
specification can be accessed by name and identification using either
AAFFactory.typeDefinitionForName(String)
or
AAFFactory.typeDefinitionForIdentification(tv.amwa.maj.record.AUID)
respectively.
- Parameters:
identification
- AUID to be used to identify this type.typeName
- Friendly name of the type definition.referencedType
- Class definition of objects that it is permissable
for this type of object reference to reference.
- Throws:
NullPointerException
- The identification and/or referenced type is/are
null
.
setPropertiesFromInterface
public final void setPropertiesFromInterface(TypeDefinitionStrongObjectReference castFrom)
- See Also:
MetaDefinition.setPropertiesFromInterface(tv.amwa.maj.iface.MetaDefinition)
getReferencedType
@AAFProperty(uuid1=100729095,
uuid2=2304,
uuid3=0,
uuid4={6,14,43,52,1,1,1,2},
definedName="ReferencedType",
typeName="WeakReference to ClassDefinition",
optional=false,
uniqueIdentifier=false,
pid=17)
public final ClassDefinition getReferencedType()
getTypeCategory
public final TypeCategory getTypeCategory()
- Description copied from interface:
TypeDefinition
Returns the type category to which this type definition belongs, which
corresponds to its sub interface. For example, TypeCategory.Int
is returned for a TypeDefinitionInteger
.
- Specified by:
getTypeCategory
in interface TypeDefinition
- Specified by:
getTypeCategory
in class TypeDefinition
- Returns:
- Type category to which the type definition belongs.
- See Also:
TypeCategory
appendXMLChildren
public final void appendXMLChildren(Node parent)
- Description copied from interface:
XMLSerializable
Append child elements to the given parent node to serialize the value of an object
to an XML fragment. Methods of the XMLBuilder
class are provided to help with this
process.
- Specified by:
appendXMLChildren
in interface XMLSerializable
- Overrides:
appendXMLChildren
in class TypeDefinitionObjectReference
- Parameters:
parent
- XML parent element to append child nodes to.
(c) 2007-2008 Richard Cartwright, all rights reserved. Subject to the terms of the AAF SDK Public Source License.