|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tv.amwa.maj.meta.TypeDefinitionFixedArray.FixedArrayValue
public static class TypeDefinitionFixedArray.FixedArrayValue
Method Summary | |
---|---|
TypeDefinition |
getType()
Returns the type definition for this property value. |
PropertyValue[] |
getValue()
Returns the value of the property through a generic Java object interface. |
boolean |
isDefinedType()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public TypeDefinition getType()
PropertyValue
Returns the type definition for this property value.
Methods of the returned type definition can be
used to manipulate a property value. For example, for a value of AAF UInt32
type, the following methods are available on TypeDefinitionInteger
:
Number getInteger(PropertyValue)
PropertyValue createValueFromNumber(Number)
void setInteger(PropertyValue, Number)
getType
in interface PropertyValue
PropertyDefinition.getTypeDefinition()
public PropertyValue[] getValue()
PropertyValue
Returns the value of the property through a generic Java object interface. Alternative type-specific access methods are provided in each type definition.
For example, for a property value of a UInt32
type, this method
returns an Integer
. Values will need to be cast to appropriate types by the
application. The value returned may be null
, which may indicate that an optional
property was not present.
getValue
in interface PropertyValue
TypeDefinition.createValue(Object)
public boolean isDefinedType()
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |