Type of object to deserialize from Metadata Value
|
Returns:
T -
equals(Object signature)
public boolean equals(Object signature)
Overwrites Equals method to compare signature properties
Parameters:
Parameter
Type
Description
signature
java.lang.Object
Signature object to compare with.
Returns:
boolean - Returns true if passed signature object has same type and all its properties are equal to this instance properties.
hashCode()
public int hashCode()
Overrides GetHashCode method
Returns:
int - Signature hash code
toBoolean()
public boolean toBoolean()
Converts to boolean.
Returns:
boolean - Returns the Metadata signature value as boolean.
Throws an exception if the Metadata value could not be converted.
toInteger()
public int toInteger()
Converts to integer.
Returns:
int - Returns the Metadata Signature value as integer.
Throws an exception if the Metadata value could not be converted.
toDouble()
public double toDouble()
Converts to Double.
Returns:
double - Returns the Metadata Signature value as Double.
Throws an exception if the Metadata value could not be converted. If original value is string based the default culture property info will be used from SignatureSettings properties SignatureSettings.DefaultCulture
toDouble(Locale provider)
public double toDouble(Locale provider)
Converts to Double.
Parameters:
Parameter
Type
Description
provider
java.util.Locale
Format data provider to use with data conversion operations.
Throws an exception if the Metadata value could not be converted
|
Returns:
double - Returns the Metadata Signature value as Double.
toSingle()
public float toSingle()
Converts to float.
Returns:
float - Returns the Metadata Signature value as float.
Throws an exception if the Metadata value could not be converted. If original value is string based the default culture property info will be used from SignatureSettings properties SignatureSettings.DefaultCulture ()
toSingle(Locale provider)
public float toSingle(Locale provider)
Converts to float.
Parameters:
Parameter
Type
Description
provider
java.util.Locale
Format data provider to use with data conversion operations.
Throws an exception if the Metadata value could not be converted
|
Returns:
float - Returns the Metadata Signature value as float.
toDateTime()
public Date toDateTime()
Converts to DateTime.
Returns:
java.util.Date - Returns the Metadata Signature value as DateTime.
Throws an exception if the Metadata value could not be converted. If original value is string based the default culture property info will be used from SignatureSettings properties SignatureSettings.DefaultCulture
toDateTime(Locale provider)
public Date toDateTime(Locale provider)
Converts to DateTime.
Parameters:
Parameter
Type
Description
provider
java.util.Locale
Format data provider to use with data conversion operations.
Throws an exception if the Metadata value could not be converted
|
Returns:
java.util.Date - Returns the Metadata Signature value as DateTime.
toString()
public String toString()
Converts to String with override ToString() method
Returns:
java.lang.String - Returns the Metadata Signature value as String.
Converts a boolean property into “True” or “False”. For another data type the default data format provider will be used.
toString(String format)
public String toString(String format)
Converts to String with specified format
Parameters:
Parameter
Type
Description
format
java.lang.String
Data format string.
Converts a boolean property into “True” or “False”. Default culture property info will be used from SignatureSettings properties SignatureSettings.DefaultCulture
|
Returns:
java.lang.String - Returns the Metadata Signature value as String.
toString(String format, Locale provider)
public String toString(String format, Locale provider)
Converts to String with specified format
Parameters:
Parameter
Type
Description
format
java.lang.String
Data format string.
provider
java.util.Locale
Format data provider to use with data conversion operations.
Converts a boolean property into “True” or “False”.
|
Returns:
java.lang.String - Returns the Metadata Signature value as String.