public class ValueMetadataImpl extends Object implements MutableValueMetadata
Constructor and Description |
---|
ValueMetadataImpl() |
ValueMetadataImpl(String stringValue) |
ValueMetadataImpl(String stringValue,
String type) |
ValueMetadataImpl(ValueMetadata source) |
Modifier and Type | Method and Description |
---|---|
String |
getStringValue()
Return the unconverted string representation of the value.
|
String |
getType()
Return the name of the type to which the value should be converted.
|
void |
setStringValue(String stringValue) |
void |
setType(String typeName) |
String |
toString() |
public ValueMetadataImpl()
public ValueMetadataImpl(String stringValue)
public ValueMetadataImpl(ValueMetadata source)
public String getStringValue()
ValueMetadata
value
attribute or text part of the
value
element.getStringValue
in interface ValueMetadata
public void setStringValue(String stringValue)
setStringValue
in interface MutableValueMetadata
public String getType()
ValueMetadata
type
attribute.getType
in interface ValueMetadata
null
if no type is specified.public void setType(String typeName)
setType
in interface MutableValueMetadata
Copyright © 2013. All Rights Reserved.