com.waveset.object
Class XmlData

java.lang.Object
  extended bycom.waveset.object.PersistentObject
      extended bycom.waveset.object.AbstractXmlData
          extended bycom.waveset.object.XmlData
All Implemented Interfaces:
java.lang.Comparable, javax.naming.Referenceable, XmlObject
Direct Known Subclasses:
SnapShot

public class XmlData
extends AbstractXmlData

An object used to contain an arbitrary bag of data for some internal subsystem.

These can be used when you need to store data, but you really don't need the overhead of a full blown persistent object Type.

The data is stored as an extension to this object, and may be any XmlObject capable of serializing itself.


Nested Class Summary
 
Nested classes inherited from class com.waveset.object.PersistentObject
PersistentObject.Comparator, PersistentObject.InitialInstance
 
Field Summary
static java.lang.String code_id
           
 
Fields inherited from class com.waveset.object.PersistentObject
_trace, trace
 
Constructor Summary
XmlData()
          Construct a new empty configuration object.
XmlData(org.w3c.dom.Element e)
          Deserialize an XmlData object from XML.
 
Method Summary
protected  Attribute getDataTypeAttribute()
          Returns the name of the XML attribute used to
 java.lang.String getElementName()
          Must overload this because we have subtypes and don't want their type names used for the XML
 Type getType()
          Return the Type object associated with this class
 
Methods inherited from class com.waveset.object.AbstractXmlData
addSubclassAttributes, addSubclassElements, getAttributeValues, getExtension, getXmlDataType, listQueryableAttributes, listSummaryAttributes, parseSubclassAttributes, parseSubclassElements, setExtension, setType, setXmlDataType
 
Methods inherited from class com.waveset.object.PersistentObject
addCommonElements, addEndTag, addMemberObjectGroup, addMemberObjectGroup, addPersistentAttributes, addStartTag, addSummaryAttributes, addXmlHeader, attributesMatch, attributesMatch, attributesMatch, checkReference, checkReferences, clearId, cloneAs, cloneObject, compareTo, create, create, create, create, createLastModItem, createLastModItem, createLastModItemList, directObjectGroupMember, dump, dumpFile, equals, fakeId, getAttribute, getAttributeValues, getAuthReferences, getAuthType, getBasicAttributes, getBasicAttributes, getBasicAttributes, getCache, getCounterValue, getCreateDate, getCreator, getDisplayableName, getDisplayName, getEncryptedValues, getId, getIdOrName, getInitialInstances, getLastMod, getLastModDate, getLastModifier, getLastModItemId, getLockInfo, getMemberObjectGroupRefs, getMemberObjectGroupRefsUpTo, getMemberObjectGroups, getName, getNameOrId, getProperties, getProperty, getPropertyAsString, getPropertyList, getQueryableAttributes, getReference, getReferences, getRuleDrivenMemberObjectGroupRefs, getRuleDrivenMemberObjectGroupRefsUpTo, getRuleDrivenMemberObjectGroups, getSubtype, getSummaryAttributes, getSummaryString, hasEncryptedData, hashCode, identityEquals, isAlias, isHidden, isId, isProtected, isProtectedFromDelete, isReferencedIn, listOperationalAttributes, listQueryableReferenceAttributes, objectGroupMember, objectGroupMemberRef, parseCommonElement, parseCommonElements, parsePersistentAttributes, parseXml, parseXml, prepareForSerialization, prepareToSerialize, println, reEncrypt, reEncryptSubclassAttributes, removeMemberObjectGroup, removeProperty, resolve, resolve, resolve, resolveArray, resolveArrayByFetching, resolveObjectReference, resolveObjectReferences, resolveReference, resolveSummaryAttributes, resolveSummaryAttributes, ruleDrivenObjectGroupMemberRef, setAuthType, setAuthType, setCache, setCreateDate, setCreator, setDisplayName, setDisplayName, setHidden, setIsAlias, setLastMod, setLastMod, setLastModDate, setLastModifier, setMemberObjectGroupRef, setMemberObjectGroupRefs, setMemberObjectGroups, setName, setProperties, setProperty, setPropertyList, setProtected, setProtectedFromDelete, setRuleDrivenMembersCache, setSubtype, setTrace, toString, toXml, toXml, toXml, toXmlFile, visit
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values
Constructor Detail

XmlData

public XmlData()
Construct a new empty configuration object.


XmlData

public XmlData(org.w3c.dom.Element e)
        throws WavesetException
Deserialize an XmlData object from XML.

Method Detail

getType

public Type getType()
Return the Type object associated with this class

Specified by:
getType in class PersistentObject

getDataTypeAttribute

protected Attribute getDataTypeAttribute()
Description copied from class: AbstractXmlData
Returns the name of the XML attribute used to

Specified by:
getDataTypeAttribute in class AbstractXmlData

getElementName

public java.lang.String getElementName()
Must overload this because we have subtypes and don't want their type names used for the XML

Specified by:
getElementName in interface XmlObject
Overrides:
getElementName in class PersistentObject