public class PropertyElementType extends PropertyElementBase
ResultSet
PropertyElementBase
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BLOB
The RS is of this type
|
static java.lang.String |
propertyType
The Type of the Property this Property element produces
|
static java.lang.String |
TEXT
The RS is of this type
|
static java.lang.String |
XML
The RS is of this type
|
Constructor and Description |
---|
PropertyElementType()
Default contructor required by
PropertyElementBase |
PropertyElementType(java.lang.String type)
Initializes a new
PropertyElementType |
Modifier and Type | Method and Description |
---|---|
void |
fromXML(java.lang.String xml)
Method to be implemented that will handle the population of the custom Property element.
|
java.lang.String |
toXML()
Method to be implemented that will handle the serialization of the custom Property element.
|
getType, getType, RS_fromXML, RS_toXML, setType
public static java.lang.String propertyType
public static java.lang.String XML
public static java.lang.String TEXT
public static java.lang.String BLOB
public PropertyElementType()
PropertyElementBase
public PropertyElementType(java.lang.String type) throws java.lang.Exception
PropertyElementType
type
- The tyoe of this ResultSet
java.lang.Exception
- An unrecoverable for the operation error occuredpublic java.lang.String toXML() throws java.lang.Exception
PropertyElementBase
PropertyElementBase.RS_toXML()
which then enriches the returned serialization
to produce a valid property xml stringtoXML
in class PropertyElementBase
java.lang.Exception
- An unrecoverable for the operation error occuredPropertyElementBase.toXML()
public void fromXML(java.lang.String xml) throws java.lang.Exception
PropertyElementBase
PropertyElementBase.RS_fromXML(String)
after it has striped the xml
serialization of the type propertyfromXML
in class PropertyElementBase
xml
- The serialized string to populate the insance fromjava.lang.Exception
- An unrecoverable for the operation error occuredPropertyElementBase.fromXML(java.lang.String)