public abstract static class TypeDefinitionImpl.PropertyValueImpl extends Object implements PropertyValue
| Constructor and Description |
|---|
PropertyValueImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Tests to see if the this property value and the given object are equal.
|
int |
hashCode()
Computes a hash code for this property value, based on type and value.
|
String |
toString()
Creates a string representation of the value contained in this property value.
|
getType, getValuepublic 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 Objecto - 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 ObjectMediaEngine.hashCode(MetadataObject)public String toString()
PropertyValueCreates a string representation of the value contained in this property value.
The string "null" is returned for a null value. The type of the value
is not included.
toString in interface PropertyValuetoString in class ObjectMediaEngine.toString(MetadataObject)(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.