|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.Alida.operator.ALDData
public abstract class ALDData
This is the abstract class from which all data classes have to be derived which want properties to be recored when returned from an operator as result.
Each object of type ALDData holds properties like image type, resolution or specification of acquisition devices. There is one specific property with key "location" which is expected to contain a file name or in general URI to the persistant storage location. Applicable only if this data object was read from persistant storage and not created from scratch. Properties may change during the lifetime of a ALDData object.
Constructor Summary | |
---|---|
ALDData()
Create a data object. |
Method Summary | |
---|---|
Hashtable<String,String> |
cloneProperties()
Clone the property hash of this obejct. |
String |
getLocation()
Get the location property, i.e. property with key location |
String |
getProperty(String key)
Get a property value for the given key . |
Enumeration<String> |
getPropertyKeys()
Get the keys of all properties set in this data object |
void |
print()
Print this data object to standard out |
void |
setLocation(String location)
Set the location property, i.e. property with key location |
void |
setProperty(String key,
Object o)
Set the property with key to new value o. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ALDData()
Method Detail |
---|
public Enumeration<String> getPropertyKeys()
public void setProperty(String key, Object o)
key
- key of property to seto
- new value of this propertypublic String getProperty(String key)
key
.
key
- key of property to getpublic Hashtable<String,String> cloneProperties()
public void setLocation(String location)
location
- new value of location propertypublic String getLocation()
public void print()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |