@MediaClass(uuid1=218169601, uuid2=257, uuid3=8704, uuid4={6,14,43,52,2,6,1,1}, definedName="Dictionary", description="The Dictionary class has DefinitionObject objects.", symbol="Dictionary") public class DictionaryImpl extends InterchangeObjectImpl implements Dictionary, Serializable, XMLSerializable, Cloneable
Implements a container for definitions. The dictionary specified here is both an AAF Dictionary and an AAF MetaDictionary. Every AAF file has a dictionary within its preface and contains a representation of the meta dictionary.
ObjectClassPropertyID| Constructor and Description |
|---|
DictionaryImpl()
Creates and initializes a new dictionary object, which has the definition objects
of an AAF persistent unit.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDefinition(DefinitionObject definition)
Add the given definition to this dictionary
if it is not already contained.
|
boolean |
addDefinitions(MetadataObject mdObject)
Scan the given metadata object to see if it contains and references to
definitions not known in this dictionary,
adding any missing definitions to this dictionary as it goes.
|
void |
clearCodecDefinitions() |
void |
clearContainerDefinitions() |
void |
clearDataDefinitions() |
void |
clearInterpolationDefinitions() |
void |
clearKLVDataDefinitions() |
void |
clearOperationDefinitions() |
void |
clearParameterDefinitions() |
void |
clearPluginDefinitions() |
void |
clearTaggedValueDefinitions() |
Dictionary |
clone()
Create a cloned copy of this interchange object.
|
int |
countCodecDefinitions()
Returns the number of codec definitions contained in this dictionary.
|
int |
countContainerDefinitions()
Returns the number of container definitions contained in this dictionary.
|
int |
countDataDefinitions()
Returns the number of data definitions contained in this dictionary.
|
int |
countInterpolationDefinitions()
Returns the number of interpolation definitions contained in
this dictionary.
|
int |
countKLVDataDefinitions()
Returns the number of KLV data definitions contained in this dictionary.
|
int |
countOperationDefinitions()
Returns the number of operation definitions contained in this dictionary.
|
int |
countParameterDefinitions()
Returns the number of parameter definitions contained in this dictionary.
|
int |
countPluginDefinitions()
Returns the number of plugin definitions contained in this dictionary.
|
int |
countTaggedValueDefinitions()
Returns the number of tagged value definitions contained in this dictionary.
|
Set<CodecDefinition> |
getCodecDefinitions()
Returns a set of all the codec definitions contained in the dictionary.
|
String |
getComment()
Include a comment when serializing a value to XML.
|
Set<ContainerDefinition> |
getContainerDefinitions()
Returns the set of all container definitions contained in this dictionary.
|
Set<DataDefinition> |
getDataDefinitions()
Returns the set of data definitions contained in this dictionary.
|
Set<InterpolationDefinition> |
getInterpolationDefinitions()
Returns the set of interpolation definitions contained in this dictionary.
|
Set<KLVDataDefinition> |
getKLVDataDefinitions()
Returns the set of KLV data definitions contained in this dictionary.
|
Set<OperationDefinition> |
getOperationDefinitions()
Returns the set of operation definitions contained in this dictionary.
|
Set<ParameterDefinition> |
getParameterDefinitions()
Returns the set of parameter definitions contained in this dictionary.
|
Set<PluginDefinition> |
getPluginDefinitions()
Returns the set of plugin definitions contained in this dictionary.
|
Set<TaggedValueDefinition> |
getTaggedValueDefinitions()
Returns a set of all tagged value definitions contained in this dictionary.
|
DataDefinition |
lookupAuxiliaryDataDefinition()
Returns the auxiliary data definition.
|
CodecDefinition |
lookupCodecDefinition(AUID codecId)
Returns the codec definition with the given identifier that is contained in this dictionary.
|
ContainerDefinition |
lookupContainerDefinition(AUID containerId)
Returns the container definition with the given identifier that is contained in this dictionary.
|
DataDefinition |
lookupDataDefinition(AUID dataDefinitionId)
Return the data definition with the given identifier that is contained in this dictionary.
|
DataDefinition |
lookupDescriptiveMedadataDataDefinition()
Returns the descriptive metadata data definition.
|
DataDefinition |
lookupEdgecodeDataDefinition()
Returns the edgecode data definition.
|
InterpolationDefinition |
lookupInterpoliationDefinition(AUID interpolationId)
Returns the interpolation definition with the given identifier that is contained in this dictionary.
|
KLVDataDefinition |
lookupKLVDataDefinition(AUID klvDataDefinitionId)
Returns the KLV data definition with the given identifier that is contained in this dictionary
|
DataDefinition |
lookupLegacyPictureDataDefinition()
Returns the legacy picture data definition.
|
DataDefinition |
lookupLegacySoundDataDefinition()
Returns the legacy sound data definition.
|
DataDefinition |
lookupLegacyTimecodeDataDefinition()
Returns the legacy timecode data definition.
|
DataDefinition |
lookupMatteDataDefinition()
Returns the matte data definition.
|
OperationDefinition |
lookupOperationDefinition(AUID operationId)
Return the operation definition with the given identifier that is contained in this dictionary.
|
ParameterDefinition |
lookupParameterDefinition(AUID parameterId)
Returns the parameter definition with the given identifier that is contained in this dictionary.
|
DataDefinition |
lookupPictureDataDefinition()
Returns the picture data definition.
|
DataDefinition |
lookupPictureWithMatteDataDefinition()
Returns the picture with matte data definition.
|
PluginDefinition |
lookupPluginDefinition(AUID pluginId)
Return the plugin definition with the given identifier that is contained in this dictionary.
|
DataDefinition |
lookupSoundDataDefinition()
Returns a sound data definition.
|
TaggedValueDefinition |
lookupTaggedValueDefinition(AUID taggedValueDefinitionId)
Returns the tagged value definition with the given identifier that is contained in this dictionary.
|
DataDefinition |
lookupTimecodeDataDefinition()
Returns the timecode data definition.
|
void |
registerCodecDefinition(CodecDefinition codecDefinition)
Add a codec definition to those contained in this dictionary.
|
void |
registerContainerDefinition(ContainerDefinition containerDefinition)
Add a container definition to those contained in this dictionary.
|
void |
registerDataDefinition(DataDefinition dataDefinition)
Add a data definition to the those contained in this dictionary.
|
void |
registerInterpolationDefinition(InterpolationDefinition interpolationDefinition)
Add an interpolation definition to those contained in this dictionary.
|
void |
registerKLVDataDefinition(KLVDataDefinition klvDataDefinition)
Add a KLV data definition to those contained in the dictionary.
|
void |
registerOperationDefinition(OperationDefinition operationDefinition)
Add a operation definition to those contained in the dictionary.
|
void |
registerParameterDefinition(ParameterDefinition parameterDefinition)
Add a parameter definition to those contained in the dictionary.
|
void |
registerPluginDefinition(PluginDefinition pluginDefinition)
Add a plugin definition to those contained in this dictionary.
|
void |
registerTaggedValueDefinition(TaggedValueDefinition taggedValueDefinition)
Add the tagged value definition to those contained in this dictionary.
|
addApplicationPlugin, appendXMLChildren, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getLinkedGenerationIDString, getObjectClass, getPersistentID, getPersistentIndex, hashCode, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setLinkedGenerationIDString, setObjectClass, setPersistentID, setPersistentIndex, toStringaddApplicationPlugin, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getObjectClass, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setObjectClass, toStringgetPersistentID, setPersistentIndexappendXMLChildrenpublic DictionaryImpl()
Creates and initializes a new dictionary object, which has the definition objects of an AAF persistent unit. All the sets of items in the dictionary are initialized to empty sets.
@MediaPropertyCount(value="CodecDefinitions") public int countCodecDefinitions()
DictionaryReturns the number of codec definitions contained in this dictionary.
countCodecDefinitions in interface Dictionary@MediaPropertyCount(value="ContainerDefinitions") public int countContainerDefinitions()
DictionaryReturns the number of container definitions contained in this dictionary.
countContainerDefinitions in interface Dictionary@MediaPropertyCount(value="DataDefinitions") public int countDataDefinitions()
DictionaryReturns the number of data definitions contained in this dictionary.
countDataDefinitions in interface Dictionary@MediaPropertyCount(value="InterpolationDefinitions") public int countInterpolationDefinitions()
DictionaryReturns the number of interpolation definitions contained in this dictionary.
countInterpolationDefinitions in interface Dictionary@MediaPropertyCount(value="KLVDataDefinitions") public int countKLVDataDefinitions()
DictionaryReturns the number of KLV data definitions contained in this dictionary.
countKLVDataDefinitions in interface Dictionary@MediaPropertyCount(value="OperationDefinitions") public int countOperationDefinitions()
DictionaryReturns the number of operation definitions contained in this dictionary.
countOperationDefinitions in interface Dictionary@MediaPropertyCount(value="ParameterDefinitions") public int countParameterDefinitions()
DictionaryReturns the number of parameter definitions contained in this dictionary.
countParameterDefinitions in interface Dictionary@MediaPropertyCount(value="PluginDefinitions") public int countPluginDefinitions()
DictionaryReturns the number of plugin definitions contained in this dictionary.
countPluginDefinitions in interface Dictionary@MediaPropertyCount(value="TaggedValueDefinitions") public int countTaggedValueDefinitions()
DictionarycountTaggedValueDefinitions in interface Dictionary@MediaPropertyClear(value="CodecDefinitions") public void clearCodecDefinitions()
@MediaPropertyClear(value="ContainerDefinitions") public void clearContainerDefinitions()
@MediaPropertyClear(value="DataDefinitions") public void clearDataDefinitions()
@MediaPropertyClear(value="InterpolationDefinitions") public void clearInterpolationDefinitions()
@MediaPropertyClear(value="KLVDataDefinitions") public void clearKLVDataDefinitions()
@MediaPropertyClear(value="OperationDefinitions") public void clearOperationDefinitions()
@MediaPropertyClear(value="ParameterDefinitions") public void clearParameterDefinitions()
@MediaPropertyClear(value="PluginDefinitions") public void clearPluginDefinitions()
@MediaPropertyClear(value="TaggedValueDefinitions") public void clearTaggedValueDefinitions()
@MediaProperty(uuid1=100729092, uuid2=1287, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="CodecDefinitions", typeName="CodecDefinitionStrongReferenceSet", optional=true, uniqueIdentifier=false, pid=9735, symbol="CodecDefinitions") public Set<CodecDefinition> getCodecDefinitions() throws PropertyNotPresentException
DictionaryReturns a set of all the codec definitions contained in the dictionary.
getCodecDefinitions in interface DictionaryPropertyNotPresentException - No codec definitions are present in this
dictionary.TypeDefinitions.CodecDefinitionStrongReferenceSet@MediaProperty(uuid1=100729092, uuid2=1288, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="ContainerDefinitions", typeName="ContainerDefinitionStrongReferenceSet", optional=true, uniqueIdentifier=false, pid=9736, symbol="ContainerDefinitions") public Set<ContainerDefinition> getContainerDefinitions() throws PropertyNotPresentException
DictionaryReturns the set of all container definitions contained in this dictionary. This is an optional property.
getContainerDefinitions in interface DictionaryPropertyNotPresentException - No container definitions are present in
this dictionary.TypeDefinitions.ContainerDefinitionStrongReferenceSet@MediaProperty(uuid1=100729092, uuid2=1285, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="DataDefinitions", typeName="DataDefinitionStrongReferenceSet", optional=true, uniqueIdentifier=false, pid=9733, symbol="DataDefinitions") public Set<DataDefinition> getDataDefinitions() throws PropertyNotPresentException
DictionaryReturns the set of data definitions contained in this dictionary. This is an optional property.
getDataDefinitions in interface DictionaryPropertyNotPresentException - No data definitions are present in this
dictionary.TypeDefinitions.DataDefinitionStrongReferenceSet@MediaProperty(uuid1=100729092, uuid2=1289, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="InterpolationDefinitions", typeName="InterpolationDefinitionStrongReferenceSet", optional=true, uniqueIdentifier=false, pid=9737, symbol="InterpolationDefinitions") public Set<InterpolationDefinition> getInterpolationDefinitions() throws PropertyNotPresentException
DictionaryReturns the set of interpolation definitions contained in this dictionary. This is an optional property.
getInterpolationDefinitions in interface DictionaryPropertyNotPresentException - No interpolation definitions are present in this
dictionary.TypeDefinitions.InterpolationDefinitionStrongReferenceSet@MediaProperty(uuid1=100729092, uuid2=1290, uuid3=0, uuid4={6,14,43,52,1,1,1,7}, definedName="KLVDataDefinitions", typeName="KLVDataDefinitionStrongReferenceSet", optional=true, uniqueIdentifier=false, pid=9738, symbol="KLVDataDefinitions") public Set<KLVDataDefinition> getKLVDataDefinitions() throws PropertyNotPresentException
DictionaryReturns the set of KLV data definitions contained in this dictionary. This is an optional property.
getKLVDataDefinitions in interface DictionaryPropertyNotPresentException - No KLV data definitions are present in this
dictionary.TypeDefinitions.KLVDataDefinitionStrongReferenceSet@MediaProperty(uuid1=100729092, uuid2=1284, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="ParameterDefinitions", typeName="ParameterDefinitionStrongReferenceSet", optional=true, uniqueIdentifier=false, pid=9732, symbol="ParameterDefinitions") public Set<ParameterDefinition> getParameterDefinitions() throws PropertyNotPresentException
DictionaryReturns the set of parameter definitions contained in this dictionary. This is an optional property.
getParameterDefinitions in interface DictionaryPropertyNotPresentException - No parameter definitions are present in
this dictionary.TypeDefinitions.ParameterDefinitionStrongReferenceSet@MediaProperty(uuid1=100729092, uuid2=1283, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="OperationDefinitions", typeName="OperationDefinitionStrongReferenceSet", optional=true, uniqueIdentifier=false, pid=9731, symbol="OperationDefinitions") public Set<OperationDefinition> getOperationDefinitions() throws PropertyNotPresentException
DictionaryReturns the set of operation definitions contained in this dictionary. This is an optional property.
getOperationDefinitions in interface DictionaryPropertyNotPresentException - No operation definitions are present in this
dictionary.TypeDefinitions.OperationDefinitionStrongReferenceSet@MediaProperty(uuid1=100729092, uuid2=1286, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="PluginDefinitions", typeName="PluginDefinitionStrongReferenceSet", optional=true, uniqueIdentifier=false, pid=9734, symbol="PluginDefinitions") public Set<PluginDefinition> getPluginDefinitions() throws PropertyNotPresentException
DictionaryReturns the set of plugin definitions contained in this dictionary. This is an optional property.
getPluginDefinitions in interface DictionaryPropertyNotPresentException - No plugin definitions are present in this
dictionary.TypeDefinitions.PluginDefinitionStrongReferenceSet@MediaProperty(uuid1=100729092, uuid2=1291, uuid3=0, uuid4={6,14,43,52,1,1,1,7}, definedName="TaggedValueDefinitions", typeName="TaggedValueDefinitionStrongReferenceSet", optional=true, uniqueIdentifier=false, pid=9739, symbol="TaggedValueDefinitions") public Set<TaggedValueDefinition> getTaggedValueDefinitions() throws PropertyNotPresentException
DictionaryReturns a set of all tagged value definitions contained in this dictionary. This is an optional property.
getTaggedValueDefinitions in interface DictionaryPropertyNotPresentException - No tagged value definitions are present in
this dictionary.public DataDefinition lookupAuxiliaryDataDefinition()
DictionaryReturns the auxiliary data definition. This is a built-in data definition for auxiliary data.
lookupAuxiliaryDataDefinition in interface DictionaryDataDefinitionConstant.Auxiliarypublic CodecDefinition lookupCodecDefinition(AUID codecId) throws NullPointerException, InvalidParameterException
DictionaryReturns the codec definition with the given identifier that is contained in this dictionary.
lookupCodecDefinition in interface DictionarycodecId - Identifier for a codec definition contained in this dictionary.NullPointerException - The given identifier is null.InvalidParameterException - The given identifier does not match a
codec definition contained in this dictionary.TypeDefinitions.CodecDefinitionWeakReferencepublic ContainerDefinition lookupContainerDefinition(AUID containerId) throws NullPointerException, InvalidParameterException
DictionaryReturns the container definition with the given identifier that is contained in this dictionary.
lookupContainerDefinition in interface DictionarycontainerId - Identifier for a container definition contained in this dictionary.NullPointerException - The given identifier is null.InvalidParameterException - The given identifier does not match a
codec definition contained in this dictionary.TypeDefinitions.ContainerDefinitionWeakReferencepublic DataDefinition lookupDataDefinition(AUID dataDefinitionId) throws NullPointerException, InvalidParameterException
DictionaryReturn the data definition with the given identifier that is contained in this dictionary.
lookupDataDefinition in interface DictionarydataDefinitionId - Unique identifier for a data definition contained in this dictionary.NullPointerException - The given identifier is null.InvalidParameterException - A data definition with the given id could not
be found in this dictionary.TypeDefinitions.DataDefinitionWeakReferencepublic DataDefinition lookupDescriptiveMedadataDataDefinition()
DictionaryReturns the descriptive metadata data definition. This is a built-in data definition for descriptive metadata.
lookupDescriptiveMedadataDataDefinition in interface DictionaryDataDefinitionConstant.DescriptiveMetadatapublic DataDefinition lookupEdgecodeDataDefinition()
DictionaryReturns the edgecode data definition. This is a built-in data definition for a stream of film edge code values.
lookupEdgecodeDataDefinition in interface DictionaryDataDefinitionConstant.Edgecodepublic InterpolationDefinition lookupInterpoliationDefinition(AUID interpolationId) throws NullPointerException, InvalidParameterException
DictionaryReturns the interpolation definition with the given identifier that is contained in this dictionary.
lookupInterpoliationDefinition in interface DictionaryinterpolationId - Identifier for an interpolation definition contained in this dictionary.NullPointerException - The given identifier is null.InvalidParameterException - The given identifier does not match
that of an interpolation definition contained in this dictionary.TypeDefinitions.InterpolationDefinitionWeakReferencepublic KLVDataDefinition lookupKLVDataDefinition(AUID klvDataDefinitionId) throws NullPointerException, InvalidParameterException
DictionaryReturns the KLV data definition with the given identifier that is contained in this dictionary
lookupKLVDataDefinition in interface DictionaryklvDataDefinitionId - Identifier for a KLV data definition contained in this dictionary.NullPointerException - The given KLV data definition is null.InvalidParameterException - The given id does not match that of a KLV data definition
in the dictionary.public DataDefinition lookupLegacyPictureDataDefinition()
DictionaryReturns the legacy picture data definition. This is a built-in data definition for a stream of essence that contains image data.
lookupLegacyPictureDataDefinition in interface DictionaryDataDefinitionConstant.LegacyPicturepublic DataDefinition lookupLegacySoundDataDefinition()
DictionaryReturns the legacy sound data definition. This is a built-in data definition essence that contains a single channel of sound.
lookupLegacySoundDataDefinition in interface DictionaryDataDefinitionConstant.LegacySoundpublic DataDefinition lookupLegacyTimecodeDataDefinition()
DictionaryReturns the legacy timecode data definition. This is a built-in data definition for a stream of tape timecode values.
lookupLegacyTimecodeDataDefinition in interface DictionaryDataDefinitionConstant.LegacyTimecodepublic DataDefinition lookupMatteDataDefinition()
DictionaryReturns the matte data definition. This is a built-in data definition for a stream of essence that contains alpha values.
lookupMatteDataDefinition in interface DictionaryDataDefinitionConstant.Mattepublic OperationDefinition lookupOperationDefinition(AUID operationId) throws NullPointerException, InvalidParameterException
DictionaryReturn the operation definition with the given identifier that is contained in this dictionary.
lookupOperationDefinition in interface DictionaryoperationId - Identifier of an operation definition contained in this dictionary.NullPointerException - The given identifier is null.InvalidParameterException - The given identifier does not match that of an operation
definition contained in this dictionary.TypeDefinitions.OperationDefinitionWeakReferencepublic ParameterDefinition lookupParameterDefinition(AUID parameterId) throws NullPointerException, InvalidParameterException
DictionaryReturns the parameter definition with the given identifier that is contained in this dictionary.
lookupParameterDefinition in interface DictionaryparameterId - Identifier for a parameter definition contained in this dictionary.NullPointerException - The given identifier is null.InvalidParameterException - The given identifier does not match a
parameter definition contained in this dictionary.TypeDefinitions.ParameterDefinitionWeakReferencepublic DataDefinition lookupPictureDataDefinition()
DictionaryReturns the picture data definition. This is a built-in data definition for a stream of essence that contains image data.
lookupPictureDataDefinition in interface DictionaryDataDefinitionConstant.Picturepublic DataDefinition lookupPictureWithMatteDataDefinition()
DictionaryReturns the picture with matte data definition. This is a built-in data definition for a stream of essence that contains image data and a matte.
lookupPictureWithMatteDataDefinition in interface DictionaryDataDefinitionConstant.PictureWithMattepublic PluginDefinition lookupPluginDefinition(AUID pluginId) throws NullPointerException, InvalidParameterException
DictionaryReturn the plugin definition with the given identifier that is contained in this dictionary.
lookupPluginDefinition in interface DictionarypluginId - Identifier for a plugin definition contained in this dictionary.NullPointerException - The given identifier is null.InvalidParameterException - The given identifier does not match that of
a plugin definition contained in this dictionary.TypeDefinitions.PluginDefinitionWeakReferencepublic DataDefinition lookupSoundDataDefinition()
DictionaryReturns a sound data definition. This is a built-in data definition for a a stream of essence that contains a single channel of sound.
lookupSoundDataDefinition in interface DictionaryDataDefinitionConstant.Soundpublic DataDefinition lookupTimecodeDataDefinition()
DictionaryReturns the timecode data definition. This is a built-in
data definition for a stream of tape
timecode values.
lookupTimecodeDataDefinition in interface DictionaryDataDefinitionConstant.Timecodepublic TaggedValueDefinition lookupTaggedValueDefinition(AUID taggedValueDefinitionId) throws NullPointerException, InvalidParameterException
DictionaryReturns the tagged value definition with the given identifier that is contained in this dictionary.
lookupTaggedValueDefinition in interface DictionarytaggedValueDefinitionId - ID of the tagged value definition to lookup in the
dictionary.NullPointerException - The given identifier is null.InvalidParameterException - The given identifier does not match that of
a tagged value definition contained in this dictionary.@MediaSetAdd(value="CodecDefinitions") public void registerCodecDefinition(CodecDefinition codecDefinition) throws NullPointerException, InvalidParameterException
DictionaryAdd a codec definition to those contained in this dictionary.
registerCodecDefinition in interface DictionarycodecDefinition - Codec definition to add.NullPointerException - The given codec definition is null.InvalidParameterException - A codec definition with
the same identifier is already contained in this dictionary.CodecConstant@MediaSetAdd(value="ContainerDefinitions") public void registerContainerDefinition(ContainerDefinition containerDefinition) throws NullPointerException, InvalidParameterException
DictionaryAdd a container definition to those contained in this dictionary.
registerContainerDefinition in interface DictionarycontainerDefinition - Container definition to add.NullPointerException - The given container definition is null.InvalidParameterException - A container definition with
the same identifier is already contained in this dictionary.ContainerConstant@MediaSetAdd(value="DataDefinitions") public void registerDataDefinition(DataDefinition dataDefinition) throws NullPointerException, InvalidParameterException
DictionaryAdd a data definition to the those contained in this dictionary.
registerDataDefinition in interface DictionarydataDefinition - Data definition to add.NullPointerException - The given data definition is null.InvalidParameterException - A data definition with the
same identifier is already contained in this dictionary.DataDefinitionConstant,
Warehouse.lookup(Class, String)@MediaSetAdd(value="InterpolationDefinitions") public void registerInterpolationDefinition(InterpolationDefinition interpolationDefinition) throws NullPointerException, InvalidParameterException
DictionaryAdd an interpolation definition to those contained in this dictionary.
registerInterpolationDefinition in interface DictionaryinterpolationDefinition - Interpolation definition to add.NullPointerException - The given interpolation definition is null.InvalidParameterException - An interpolation definition with
the same identifier is already contained in this dictionary.InterpolationConstant@MediaSetAdd(value="KLVDataDefinitions") public void registerKLVDataDefinition(KLVDataDefinition klvDataDefinition) throws NullPointerException, InvalidParameterException
DictionaryAdd a KLV data definition to those contained in the dictionary.
registerKLVDataDefinition in interface DictionaryklvDataDefinition - KLV data definition to add to the dictionary.NullPointerException - The given KLV data definition is null.InvalidParameterException - The given KLV data definition has the same identifier
as one already contained in the dictionary.@MediaSetAdd(value="OperationDefinitions") public void registerOperationDefinition(OperationDefinition operationDefinition) throws NullPointerException, InvalidParameterException
DictionaryAdd a operation definition to those contained in the dictionary.
registerOperationDefinition in interface DictionaryoperationDefinition - Operation definition to add.NullPointerException - The given operation definition is null.InvalidParameterException - An operation definition with the
same identifier is already contained in this dictionary.OperationConstant@MediaSetAdd(value="ParameterDefinitions") public void registerParameterDefinition(ParameterDefinition parameterDefinition) throws NullPointerException, InvalidParameterException
DictionaryAdd a parameter definition to those contained in the dictionary.
registerParameterDefinition in interface DictionaryparameterDefinition - Parameter definition to add.NullPointerException - The given parameter definition is null.InvalidParameterException - A parameter definition with the
same identifier is already contained in this dictionary.ParameterConstant@MediaSetAdd(value="PluginDefinitions") public void registerPluginDefinition(PluginDefinition pluginDefinition) throws NullPointerException, InvalidParameterException
DictionaryAdd a plugin definition to those contained in this dictionary.
registerPluginDefinition in interface DictionarypluginDefinition - Plugin definition to add.NullPointerException - The given plugin definition is null.InvalidParameterException - A plugin definition with
the same identifier is already contained in this dictionary.@MediaSetAdd(value="TaggedValueDefinitions") public void registerTaggedValueDefinition(TaggedValueDefinition taggedValueDefinition) throws NullPointerException, InvalidParameterException
DictionaryAdd the tagged value definition to those contained in this dictionary.
registerTaggedValueDefinition in interface DictionarytaggedValueDefinition - Tagged value definition to add to the dictionary.NullPointerException - The given tagged value definition is null.InvalidParameterException - The given tagged value definition has the same
identifier as one already contained in the dictionary.public Dictionary clone()
InterchangeObjectCreate a cloned copy of this interchange object.
clone in interface MediaEntityclone in interface Dictionaryclone in interface InterchangeObjectclone in class InterchangeObjectImplpublic boolean addDefinitions(MetadataObject mdObject)
DictionaryScan the given metadata object to see if it contains and references to definitions not known in this dictionary, adding any missing definitions to this dictionary as it goes.
addDefinitions in interface DictionarymdObject - Metadata object to check for missing definitions.public boolean addDefinition(DefinitionObject definition)
DictionaryAdd the given definition to this dictionary if it is not already contained. If the definition is already represented, this methods returns successfully.
addDefinition in interface Dictionarydefinition - Definition to add to this dictionary.public String getComment()
XMLSerializableInclude a comment when serializing a value to XML. The comment will be inserted as the first child node of the element representing the class.
getComment in interface XMLSerializablegetComment in class InterchangeObjectImpl(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.