com.waveset.object
Class SnapShot

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

public class SnapShot
extends XmlData


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
SnapShot()
           
SnapShot(org.w3c.dom.Element e)
           
 
Method Summary
static SnapShot getCurrent(LighthouseContext ctx)
          Creates a SnapShot of the current system and deposits it into the repository with the following name.
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

SnapShot

public SnapShot()

SnapShot

public SnapShot(org.w3c.dom.Element e)
         throws WavesetException
Parameters:
e -
Throws:
WavesetException
Method Detail

getType

public Type getType()
Description copied from class: XmlData
Return the Type object associated with this class

Overrides:
getType in class XmlData

getDataTypeAttribute

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

Overrides:
getDataTypeAttribute in class XmlData

getElementName

public java.lang.String getElementName()
Description copied from class: XmlData
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 XmlData

getCurrent

public static SnapShot getCurrent(LighthouseContext ctx)
                           throws WavesetException
Creates a SnapShot of the current system and deposits it into the repository with the following name.

Throws:
WavesetException