endrov.data.basicTypes
Class EvCustomObject

java.lang.Object
  extended by endrov.data.EvContainer
      extended by endrov.data.EvObject
          extended by endrov.data.basicTypes.EvCustomObject

public class EvCustomObject
extends EvObject

Meta object of unknown/custom type. Either real custom data or corresponding plugin is missing


Field Summary
 org.jdom.Element xml
           
 
Fields inherited from class endrov.data.EvContainer
author, containerIcon, coreMetadataModified, dateCreate, dateLastModify, isGeneratedData, metaObject, ostBlobID
 
Constructor Summary
EvCustomObject()
           
 
Method Summary
 void buildMetamenu(javax.swing.JMenu menu, EvContainer parentObject)
          Attach menu entries specific for this type of object
 EvObject cloneEvObject()
          Get a deep copy of the object, not including children
 java.lang.String getMetaType()
           
 java.lang.String getMetaTypeDesc()
          Human readable name
 void loadMetadata(org.jdom.Element e)
          Unserialize object
 java.lang.String saveMetadata(org.jdom.Element e)
          Serialize object
 
Methods inherited from class endrov.data.EvObject
cloneEvObjectRecursive, cloneUsingSerialize, getContainerIcon
 
Methods inherited from class endrov.data.EvContainer
addMetaObject, getChild, getChildNames, getFreeChildName, getIdObjects, getIdObjectsRecursive, getMetaContainer, getMetaObject, getObjects, isMetadataModified, putChild, removeMetaObjectByValue, setMetadataModified, setMetadataNotModified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xml

public org.jdom.Element xml
Constructor Detail

EvCustomObject

public EvCustomObject()
Method Detail

getMetaType

public java.lang.String getMetaType()

getMetaTypeDesc

public java.lang.String getMetaTypeDesc()
Description copied from class: EvObject
Human readable name

Specified by:
getMetaTypeDesc in class EvObject

saveMetadata

public java.lang.String saveMetadata(org.jdom.Element e)
Description copied from class: EvObject
Serialize object

Specified by:
saveMetadata in class EvObject

loadMetadata

public void loadMetadata(org.jdom.Element e)
Description copied from class: EvObject
Unserialize object

Specified by:
loadMetadata in class EvObject

buildMetamenu

public void buildMetamenu(javax.swing.JMenu menu,
                          EvContainer parentObject)
Description copied from class: EvObject
Attach menu entries specific for this type of object

Specified by:
buildMetamenu in class EvObject
parentObject - TODO

cloneEvObject

public EvObject cloneEvObject()
Description copied from class: EvObject
Get a deep copy of the object, not including children

Specified by:
cloneEvObject in class EvObject