|
Media Authoring with Java API |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objecttv.amwa.maj.meta.MetaDefinition
tv.amwa.maj.meta.TypeDefinition
tv.amwa.maj.meta.TypeDefinitionObjectReference
tv.amwa.maj.meta.TypeDefinitionObjectReference.TypeDefinitionObjectReferenceUnresolved
public static class TypeDefinitionObjectReference.TypeDefinitionObjectReferenceUnresolved
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class tv.amwa.maj.meta.TypeDefinitionObjectReference |
|---|
TypeDefinitionObjectReference.ObjectReferenceValue, TypeDefinitionObjectReference.TypeDefinitionObjectReferenceUnresolved |
| Method Summary | |
|---|---|
PropertyValue |
createValue(Object javaValue)
Create a property value from the given Java object. |
AUID |
getIdentification()
|
String |
getSymbolName()
Create an XML symbol name from the name of this definition. |
TypeCategory |
getTypeCategory()
Returns the type category to which this type definition belongs, which corresponds to its sub interface. |
String |
toString()
Create and return a human-readable string representation of this embeddable value. |
| Methods inherited from class tv.amwa.maj.meta.TypeDefinitionObjectReference |
|---|
appendXMLChildren, deepEquals, getObject, getObjectType, setObject, setPropertiesFromInterface |
| Methods inherited from class tv.amwa.maj.meta.TypeDefinition |
|---|
setPropertiesFromInterface |
| Methods inherited from class tv.amwa.maj.meta.MetaDefinition |
|---|
castFromInterface, equals, getAUID, getDescription, getName, hashCode, setDescription, setName, setPropertiesFromInterface |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface tv.amwa.maj.iface.MetaDefinition |
|---|
getAUID, getDescription, getName, setDescription, setName |
| Methods inherited from interface tv.amwa.maj.meta.MAJCommon |
|---|
equals, hashCode |
| Method Detail |
|---|
public PropertyValue createValue(Object javaValue)
throws ClassCastException
TypeDefinitionCreate a property value from the given Java object. If the type of
the object is not compatible with this type definition, a ClassCastException
is thrown.
createValue in interface TypeDefinitioncreateValue in interface TypeDefinitionObjectReferencecreateValue in class TypeDefinitionObjectReferencejavaValue - Java object to use to create a property value of this type.
ClassCastException - The given object cannot be cast to a property value with
this type definition.TypeDefinitionObjectReference.setObject(PropertyValue, Object)public TypeCategory getTypeCategory()
TypeDefinitionReturns the type category to which this type definition belongs, which
corresponds to its sub interface. For example, TypeCategory.Int
is returned for a TypeDefinitionInteger.
getTypeCategory in interface TypeDefinitiongetTypeCategory in class TypeDefinitionTypeCategorypublic AUID getIdentification()
getIdentification in class MetaDefinitionpublic String getSymbolName()
MetaDefinitionCreate an XML symbol name from the name of this definition. All non-word characters
are replaced by underbar characers "_".
public String toString()
MAJCommonCreate and return a human-readable string representation of this embeddable value.
toString in interface MAJCommontoString in class MetaDefinitionObject.toString()
|
Media Authoring with Java API |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||