@MediaClass(uuid1=218169601, uuid2=257, uuid3=12544, uuid4={6,14,43,52,2,6,1,1}, definedName="Locator", description="The Locator class provides information to help find a file that contains the essence or to help find the physical media.", symbol="Locator", isConcrete=false) public class LocatorImpl extends InterchangeObjectImpl implements Locator, QLocator, XMLSerializable, Serializable, Cloneable
Implements the representation of information to help find a file that contains the essence or to help find the physical media.
ObjectClassPropertyID| Constructor and Description |
|---|
LocatorImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendXMLChildren(Node parent)
Append extra child elements to the given parent node to serialize the value of an object
to an XML fragment.
|
Locator |
clone()
Create a cloned copy of this interchange object.
|
String |
getComment()
Include a comment when serializing a value to XML.
|
int |
getNumberOfFiles() |
String |
getPath()
Returns the path string property of this locator, which provides access to
the URL property of a network locator and
the name property of a text locator.
|
int |
getTapeOffset() |
void |
setNumberOfFiles(Integer numberOfFiles) |
void |
setPath(String path)
Sets the path string property of this locator, which provides access to
the URLString property of a network locator and
the name property of a text locator.
|
void |
setTapeOffset(Integer tapeOffset) |
addApplicationPlugin, 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, setPersistentIndexpublic String getPath()
LocatorReturns the path string property of this locator, which provides access to the URL property of a network locator and the name property of a text locator.
getPath in interface LocatorNetworkLocator.getURL()public void setPath(String path) throws NullPointerException
LocatorSets the path string property of this locator, which provides access to the URLString property of a network locator and the name property of a text locator.
setPath in interface Locatorpath - Path string property of this locator.NullPointerException - The given path is null.@MediaProperty(uuid1=-1389640793, uuid2=18315, uuid3=17801, uuid4={-77,-110,107,-72,32,-116,69,40}, definedName="Tape offset", symbol="Tape_offset", aliases="Tape_offset", typeName="Int32", optional=true, uniqueIdentifier=false, pid=0, prefix="q", namespace="http://www.quantel.com/genQ/extensions") @Int32 public int getTapeOffset() throws PropertyNotPresentException
getTapeOffset in interface QLocatorPropertyNotPresentException@MediaPropertySetter(value="Tape offset") public void setTapeOffset(@Int32 Integer tapeOffset)
setTapeOffset in interface QLocator@MediaProperty(uuid1=445393838, uuid2=-12206, uuid3=19559, uuid4={-93,52,29,-3,31,54,85,-116}, definedName="Number of files", symbol="Number_of_files", aliases="Number_of_files", typeName="Int32", optional=true, uniqueIdentifier=false, pid=0, prefix="q", namespace="http://www.quantel.com/genQ/extensions") @Int32 public int getNumberOfFiles() throws PropertyNotPresentException
getNumberOfFiles in interface QLocatorPropertyNotPresentException@MediaPropertySetter(value="Number of files") public void setNumberOfFiles(@Int32 Integer numberOfFiles)
setNumberOfFiles in interface QLocatorpublic Locator clone()
InterchangeObjectCreate a cloned copy of this interchange object.
clone in interface MediaEntityclone in interface InterchangeObjectclone in interface Locatorclone in class InterchangeObjectImplpublic void appendXMLChildren(Node parent)
XMLSerializableAppend extra 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.
appendXMLChildren in interface XMLSerializableappendXMLChildren in class InterchangeObjectImplparent - XML parent element to append child nodes to.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.