@MediaClass(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.", symbol="TypeDefinitionStrongObjectReference") public final class TypeDefinitionStrongObjectReferenceImpl extends TypeDefinitionObjectReferenceImpl implements TypeDefinitionStrongObjectReference, Serializable, Cloneable
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.
TypeDefinitionObjectReferenceImpl.ObjectReferenceValue, TypeDefinitionObjectReferenceImpl.UnresolvedReferenceValueSingletonTypeDefinitionImpl.SingletonMethodBagTypeDefinitionImpl.PropertyValueImplAAF_METADICT_NAMESPACE, AAF_METADICT_PREFIX, AAF_XML_NAMESPACE, AAF_XML_PREFIX, ApplicationPluginObjectID, ApplicationPluginsID, MAX_NUM_RGBA_COMPS, MemberOfID, ObjectClassID, ParentClassID, PropertiesID, XMLClassIDAsAttributeName| Constructor and Description |
|---|
TypeDefinitionStrongObjectReferenceImpl(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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendMetadictXML(Node metadict,
String namespace,
String prefix)
Append an XML representation of this meta definition to the given XML node.
|
TypeDefinitionStrongObjectReference |
clone()
Create a cloned copy of this meta definition.
|
ClassDefinition |
getReferencedType() |
TypeCategory |
getTypeCategory()
Returns the type category to which this type definition belongs, which
corresponds to its sub interface.
|
static ClassDefinition |
initializeReferencedType() |
String |
nameToAAFName(String name) |
void |
setReferencedType(ClassDefinition referencedType) |
createFromBytes, createValue, getLocalReference, getObject, getObjectType, lengthAsBytes, setObject, writeAsBytessetPropertyValuegetNamespace, getPrefix, getPropertyValue, initalizeTypeNameMap, resolveReferences, writeAsStructuredStorageBytesaafNameToName, appendXMLChildren, deepEquals, equals, getAAFNamesInUse, getAliases, getAUID, getComment, getDescription, getIdentification, getName, getSymbol, getWeakTargetReference, hashCode, initializeMetaDefinitionIdentification, initializeMetaDefinitionName, setAAFNamesInUse, setAliases, setDescription, setIdentification, setName, setNamespace, setPrefix, setSymbol, toStringcreateValue, getObject, getObjectType, setObjectcreateFromBytes, getPropertyValue, lengthAsBytes, resolveReferences, setPropertyValue, writeAsBytes, writeAsStructuredStorageBytesdeepEquals, equals, getAAFNamesInUse, getAliases, getAUID, getDescription, getName, getNamespace, getPrefix, getSymbol, hashCode, setAAFNamesInUse, setDescription, setName, setNamespace, setPrefix, setSymbol, toStringgetWeakTargetReferenceappendXMLChildren, getCommentpublic TypeDefinitionStrongObjectReferenceImpl(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
Warehouse.lookForType(String) or
Warehouse.lookForType(tv.amwa.maj.record.AUID)
respectively.
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.NullPointerException - The identification and/or referenced type is/are
null.@MediaProperty(uuid1=100729095, uuid2=2304, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="ReferencedType", aliases="StrongReferencedType", typeName="ClassDefinitionWeakReference", optional=false, uniqueIdentifier=false, pid=17, symbol="ReferencedType") public final ClassDefinition getReferencedType()
@MediaPropertySetter(value="ReferencedType") public void setReferencedType(ClassDefinition referencedType)
public static final ClassDefinition initializeReferencedType()
public final TypeCategory getTypeCategory()
TypeDefinitionReturns the type category to which this type definition belongs, which
corresponds to its sub interface. For example, TypeCategory.Int
is returned for a TypeDefinitionInteger.
getTypeCategory in interface TypeDefinitiongetTypeCategory in class TypeDefinitionImplTypeCategorypublic String nameToAAFName(String name)
nameToAAFName in class TypeDefinitionImplpublic void appendMetadictXML(Node metadict, String namespace, String prefix)
MetaDefinitionAppend an XML representation of this meta definition to the given XML node.
appendMetadictXML in interface MetaDefinitionappendMetadictXML in class MetaDefinitionImplmetadict - Meta dictionary node to append a description of this node to.CommonConstants.AAF_METADICT_NAMESPACEpublic TypeDefinitionStrongObjectReference clone()
MetaDefinitionCreate a cloned copy of this meta definition.
clone in interface MetaDefinitionclone in interface TypeDefinitionclone in interface TypeDefinitionObjectReferenceclone in interface TypeDefinitionStrongObjectReferenceclone in class TypeDefinitionObjectReferenceImpl(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.