@MediaClass(uuid1=259133698, uuid2=256, uuid3=0, uuid4={6,14,43,52,1,1,1,1}, definedName="LocalTagEntry", description="MAJ API implementation of a local tag lookup value.", symbol="LocalTagEntry", namespace="http://www.smpte-ra.org/rp210", prefix="mxf") public class LocalTagEntryImpl extends Object implements LocalTagEntry, FixedLengthPack, MetadataObject, Cloneable, MXFConstants
InstanceTag, InstanceUID, KLVFill, KLVFillOld, RP210_NAMESPACE, RP210_PREFIX| Constructor and Description |
|---|
LocalTagEntryImpl() |
LocalTagEntryImpl(short localTag,
AUID uid) |
| Modifier and Type | Method and Description |
|---|---|
LocalTagEntry |
clone()
Create a cloned copy of this local tag entry.
|
short |
getLocalTag()
Returns the 2 byte tag of this local entry.
|
String[] |
getPackOrder()
Returns a list of property names in the order they need to be serialized
to a stream.
|
AUID |
getUID()
Returns the 16 byte key part of the local tag entry.
|
void |
setLocalTag(short localTag)
Sets the 2 byte tag of this local tag entry.
|
void |
setUID(AUID uid)
Sets the 16 byte key part of the local tag entry.
|
String |
toString() |
public LocalTagEntryImpl()
public LocalTagEntryImpl(@UInt16 short localTag, AUID uid) throws NullPointerException
NullPointerException@MediaProperty(uuid1=16975362, uuid2=0, uuid3=0, uuid4={6,14,43,52,1,1,1,5}, definedName="Local Tag", aliases="Local Tag Value", typeName="UInt16", optional=false, uniqueIdentifier=false, pid=0, symbol="LocalTag") @UInt16 public short getLocalTag()
LocalTagEntryReturns the 2 byte tag of this local entry. Negative Java
values are treated as their bit-equivalent unsigned integer value,
e.g. -2. is 0xfffe
getLocalTag in interface LocalTagEntry@MediaPropertySetter(value="Local Tag") public void setLocalTag(@UInt16 short localTag)
LocalTagEntrySets the 2 byte tag of this local tag entry. Negative Java
values are treated as their bit-equivalent unsigned integer value,
e.g. -2. is 0xfffe
setLocalTag in interface LocalTagEntrylocalTag - 2 byte tag of this local entry.@MediaProperty(uuid1=16975363, uuid2=0, uuid3=0, uuid4={6,14,43,52,1,1,1,5}, definedName="UID", aliases="Local Tag Unique ID", typeName="AUID", optional=false, uniqueIdentifier=true, pid=0, symbol="UID") public AUID getUID()
LocalTagEntryReturns the 16 byte key part of the local tag entry.
getUID in interface LocalTagEntry@MediaPropertySetter(value="UID") public void setUID(AUID uid) throws NullPointerException
LocalTagEntrySets the 16 byte key part of the local tag entry.
setUID in interface LocalTagEntryuid - 16 byte key part of the local tag entry.NullPointerException - Cannot set the key part of the local tag
entry with a null value.public String[] getPackOrder()
FixedLengthPackReturns a list of property names in the order they need to be serialized to a stream.
getPackOrder in interface FixedLengthPackMXFBuilder.readFixedLengthPack(tv.amwa.maj.record.AUID, java.nio.ByteBuffer),
MXFBuilder.writeFixedLengthPack(FixedLengthPack, java.nio.ByteBuffer)public LocalTagEntry clone()
LocalTagEntryCreate a cloned copy of this local tag entry.
clone in interface LocalTagEntryclone in class Object(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.