@MediaClass(uuid1=218169601, uuid2=768, uuid3=0, uuid4={6,14,43,52,2,6,1,1}, definedName="Root", symbol="Root", description="Represents the logical association of the definitions of the extensions used in a file with the structural and descriptive metadata in the file.", namespace="http://www.smpte-ra.org/schemas/2001-2/2007/aaf", prefix="aaf") public class RootImpl extends Object implements Root, Cloneable, Serializable, MetadataObject
| Constructor and Description |
|---|
RootImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRootExtension(ExtensionScheme extensionScheme)
Add an extension scheme to the set of extension
schemes used for this file.
|
void |
clearRootExtensions()
Clear all the root extension schemes for the file.
|
Root |
clone()
Create a cloned copy of this root.
|
boolean |
containsRootExtension(AUID extensionSchemeID)
Determines if the root contains the given extension scheme
identifier,
indicating that the corresponding scheme is used in the file.
|
boolean |
containsRootExtension(ExtensionScheme extensionScheme)
Determines if the root contains the given extension scheme, indicating that
the scheme is used in the file.
|
boolean |
containsRootExtension(String schemeURI)
Determines if the root contains the given extension scheme from its
scheme URI or
preferred prefix, indicating that the corresponding
scheme is used in the file.
|
int |
countRootExtensions()
Returns the number of extension schemes attached
to the file.
|
Set<ExtensionScheme> |
getRootExtensions()
Returns the set of extension schemes that are
used for this file.
|
int |
getRootFormatVersion()
Returns the simple integer version number of meta model.
|
Preface |
getRootPreface()
Returns the preface of the file.
|
boolean |
removeRootExtension(AUID extensionScheme)
Remove the identified extension scheme from the set of extension schemes
of this file.
|
boolean |
removeRootExtension(ExtensionScheme extensionScheme)
Remove the given extension scheme from the set of extension schemes
of this file.
|
void |
setRootFormatVersion(Integer rootFormatVerison)
Sets the simple integer version number of meta model.
|
void |
setRootPreface(Preface preface)
Sets the preface of the file.
|
@MediaProperty(uuid1=100729095, uuid2=5888, uuid3=0, uuid4={6,14,43,52,1,1,1,10}, definedName="RootPreface", aliases="Preface", typeName="PrefaceStrongReference", optional=false, uniqueIdentifier=false, pid=2, symbol="RootPreface", description="Preface of the file.") public Preface getRootPreface()
RootReturns the preface of the file.
getRootPreface in interface Root@MediaPropertySetter(value="RootPreface") public void setRootPreface(Preface preface) throws NullPointerException
RootSets the preface of the file.
setRootPreface in interface Rootpreface - Preface of the file.NullPointerException - Cannot set the preface of the file using a
null value.@MediaProperty(uuid1=100729095, uuid2=6656, uuid3=0, uuid4={6,14,43,52,1,1,1,13}, definedName="RootExtensions", aliases="RootExtensionSchemes", typeName="ExtensionSchemeStrongReferenceSet", optional=false, uniqueIdentifier=false, pid=35, symbol="RootExtensions", description="Set of extension schemes that are used for this file. The extension schemes represent meta definitions that are not contained in the AAF baseline.") public Set<ExtensionScheme> getRootExtensions()
RootReturns the set of extension schemes that are used for this file. The extension schemes represent meta definitions that are not contained in the AAF baseline.
getRootExtensions in interface RootApplicationPluginObject.getApplicationScheme(),
DescriptiveMarker.getDescriptiveMetadataScheme(),
InterchangeObject.getApplicationPlugins(),
Preface.getDescriptiveSchemes()@MediaSetAdd(value="RootExtensions") public void addRootExtension(ExtensionScheme extensionScheme)
RootAdd an extension scheme to the set of extension schemes used for this file.
addRootExtension in interface RootextensionScheme - Extension scheme to add.Root.getRootExtensions()@MediaPropertyClear(value="RootExtensions") public void clearRootExtensions()
RootClear all the root extension schemes for the file.
clearRootExtensions in interface RootRoot.getRootExtensions()@MediaPropertyContains(value="RootExtensions") public boolean containsRootExtension(ExtensionScheme extensionScheme) throws NullPointerException
RootDetermines if the root contains the given extension scheme, indicating that the scheme is used in the file.
containsRootExtension in interface RootextensionScheme - Extension scheme to check for.NullPointerException - Cannot check for a root using a null
value.Root.containsRootExtension(AUID),
Root.containsRootExtension(String),
Root.getRootExtensions()public boolean containsRootExtension(AUID extensionSchemeID) throws NullPointerException
RootDetermines if the root contains the given extension scheme identifier, indicating that the corresponding scheme is used in the file.
containsRootExtension in interface RootNullPointerException - Cannot check for a root using a null
value.Root.containsRootExtension(ExtensionScheme),
Root.containsRootExtension(String),
Root.getRootExtensions(),
ExtensionScheme.getSchemeID()public boolean containsRootExtension(String schemeURI) throws NullPointerException
RootDetermines if the root contains the given extension scheme from its scheme URI or preferred prefix, indicating that the corresponding scheme is used in the file.
containsRootExtension in interface RootschemeURI - Namespace URI or preferred prefix of the extension scheme to check for.NullPointerException - Cannot check for a root using a null
value.Root.containsRootExtension(ExtensionScheme),
Root.containsRootExtension(AUID),
Root.getRootExtensions(),
ExtensionScheme.getSchemeURI(),
ExtensionScheme.getPreferredPrefix()@MediaPropertyCount(value="RootExtensions") public int countRootExtensions()
RootReturns the number of extension schemes attached to the file.
countRootExtensions in interface RootRoot.getRootExtensions()@MediaPropertyRemove(value="RootExtensions") public boolean removeRootExtension(ExtensionScheme extensionScheme) throws NullPointerException
RootRemove the given extension scheme from the set of extension schemes of this file.
removeRootExtension in interface RootextensionScheme - Extension scheme to remove from this file.false if
the extension scheme was not contained.NullPointerException - Cannot remove an extension scheme using a null value.Root.removeRootExtension(AUID),
Root.getRootExtensions()public boolean removeRootExtension(AUID extensionScheme) throws NullPointerException
RootRemove the identified extension scheme from the set of extension schemes of this file.
removeRootExtension in interface RootextensionScheme - Identifier for the extension scheme to remove from this file.false if
the extension scheme was not contained.NullPointerException - Cannot remove an extension scheme using a null value.Root.removeRootExtension(ExtensionScheme),
Root.getRootExtensions()@MediaProperty(uuid1=100729095, uuid2=6400, uuid3=0, uuid4={6,14,43,52,1,1,1,10}, definedName="RootFormatVersion", typeName="UInt32", optional=true, uniqueIdentifier=false, pid=34, symbol="RootFormatVersion", description="Simple integer version number of meta model. If present, this optional property shall be 12h (18) or greater.") @UInt32 public int getRootFormatVersion() throws PropertyNotPresentException
RootReturns the simple integer version number of meta model. If present, this optional property shall be 12h or greater.
getRootFormatVersion in interface RootPropertyNotPresentException - The optional root format version property is not
present for this root.@MediaPropertySetter(value="RootFormatVersion") public void setRootFormatVersion(@UInt32 Integer rootFormatVerison) throws IllegalArgumentException
RootSets the simple integer version number of meta model. If present, this optional property shall be 12h or greater.
setRootFormatVersion in interface RootrootFormatVerison - Simple integer version number of meta model.IllegalArgumentException - Cannot set the root format version to a
value less than 12h (18).(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.