public static class TypeDefinitionFixedArrayImpl.FixedArrayValue extends TypeDefinitionImpl.PropertyValueImpl implements PropertyValue
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Tests to see if the this property value and the given object are equal.
|
TypeDefinition |
getType()
Returns the type definition for this property value.
|
Object[] |
getValue()
Returns the value of the property through a generic Java object interface.
|
int |
hashCode()
Computes a hash code for this property value, based on type and value.
|
boolean |
isDefinedType() |
toStringtoStringpublic TypeDefinition getType()
PropertyValueReturns 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:
getType in interface PropertyValuePropertyDefinition.getTypeDefinition(),
TypeDefinitions.TypeDefinitionWeakReferencepublic Object[] getValue()
PropertyValueReturns 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 PropertyValueTypeDefinition.createValue(Object)public boolean isDefinedType()
public boolean equals(Object o)
PropertyValueTests to see if the this property value and the given object are equal. Two property values are equal if-and-only-if:
null;Object.equals(Object) or both property values represent a null value.equals in interface PropertyValueequals in class TypeDefinitionImpl.PropertyValueImplo - Property value to test equality with this one.Object.equals(Object),
MediaEngine.deepEquals(MetadataObject, Object)public int hashCode()
PropertyValueComputes a hash code for this property value, based on type and value. This method follows the Java hash code rules.
hashCode in interface PropertyValuehashCode in class TypeDefinitionImpl.PropertyValueImplMediaEngine.hashCode(MetadataObject)(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.