public class PropertyElementLifeSpanGC extends PropertyElementBase
ResultSet
PropertyElementBase
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
propertyType
The Type of the Property this Property element produces
|
Constructor and Description |
---|
PropertyElementLifeSpanGC()
Default contructor required by
PropertyElementBase |
PropertyElementLifeSpanGC(long lifeSpan)
Initializes a new
PropertyElementLifeSpanGC |
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 PropertyElementLifeSpanGC()
PropertyElementBase
public PropertyElementLifeSpanGC(long lifeSpan) throws java.lang.Exception
PropertyElementLifeSpanGC
lifeSpan
- The lifespan of this ResultSet
in millisecondsjava.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)