public interface TypeDefinitionCharacter extends TypeDefinition
Specifies the definition of a property type that has a value of a single 2-byte character.
The AAF character type is equivalent to the Java char primitive type and a value
of Character.
TypeCategory.Character,
Character| Modifier and Type | Method and Description |
|---|---|
TypeDefinitionCharacter |
clone()
Create a cloned copy of this character type definition.
|
PropertyValue |
createValueFromCharacter(char character)
Create a new property value of character type from the given
single character.
|
char |
getCharacter(PropertyValue characterProperty)
Returns the character that is the value of the given character
property value.
|
void |
setCharacter(PropertyValue characterProperty,
char character)
Sets the given character as the value of the given character
property value.
|
createFromBytes, createValue, getPropertyValue, getTypeCategory, lengthAsBytes, resolveReferences, setPropertyValue, writeAsBytes, writeAsStructuredStorageBytesappendMetadictXML, deepEquals, equals, getAAFNamesInUse, getAliases, getAUID, getDescription, getName, getNamespace, getPrefix, getSymbol, hashCode, setAAFNamesInUse, setDescription, setName, setNamespace, setPrefix, setSymbol, toStringgetWeakTargetReferencePropertyValue createValueFromCharacter(char character)
Create a new property value of character type from the given single character.
character - Character to use to create a new property value.setCharacter(PropertyValue, char)char getCharacter(PropertyValue characterProperty) throws NullPointerException, IllegalPropertyValueException
Returns the character that is the value of the given character property value.
characterProperty - Property value containing the character to
return.NullPointerException - The given property value is null.IllegalPropertyValueException - The given property value is not a
character property value.PropertyValue.getType()void setCharacter(PropertyValue characterProperty, char character) throws NullPointerException, IllegalPropertyValueException
Sets the given character as the value of the given character property value.
characterProperty - Property value of character type to set
the character for.character - Character to set as the value of the given property
value.NullPointerException - The given character property value is null.IllegalPropertyValueException - The given property value is not a
a character property value.createValueFromCharacter(char)TypeDefinitionCharacter clone()
Create a cloned copy of this character type definition.
clone in interface MetaDefinitionclone in interface TypeDefinition(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.