org.escot
Class CustomObject

java.lang.Object
  |
  +--org.escot.CustomObject
All Implemented Interfaces:
CustomStorage

public class CustomObject
extends Object
implements CustomStorage

CustomObject for persistence


Constructor Summary
CustomObject()
           
 
Method Summary
 CustomObject[] getCustomObjects()
          gets the custom objects for this object
 CustomProperty[] getCustomProperties()
          gets the custom properties for this object
 Object getData()
          gets the data of this object
 String getName()
          returns the name of this object
 void setCustomObjects(CustomObject[] obj)
          sets the custom objects for this object
 void setCustomProperties(CustomProperty[] props)
          sets the custom properties for this object
 void setData(Object obj)
          sets the data for this object
 void setName(String s)
          sets the name of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomObject

public CustomObject()
Method Detail

getName

public String getName()
returns the name of this object
Returns:
the name of the object

setName

public void setName(String s)
sets the name of this object
Parameters:
s - the name of the object

getData

public Object getData()
gets the data of this object
Returns:
the data of the object

setData

public void setData(Object obj)
sets the data for this object
Parameters:
obj - the data for the object

getCustomProperties

public CustomProperty[] getCustomProperties()
gets the custom properties for this object
Specified by:
getCustomProperties in interface CustomStorage
Returns:
an array of custom properties

setCustomProperties

public void setCustomProperties(CustomProperty[] props)
sets the custom properties for this object
Specified by:
setCustomProperties in interface CustomStorage
Parameters:
props - an array of custom properties

getCustomObjects

public CustomObject[] getCustomObjects()
gets the custom objects for this object
Specified by:
getCustomObjects in interface CustomStorage
Returns:
an array of custom objects

setCustomObjects

public void setCustomObjects(CustomObject[] obj)
sets the custom objects for this object
Specified by:
setCustomObjects in interface CustomStorage
Parameters:
obj - an array of custom objects