|
||||||||
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.
Field Summary | |
---|---|
private java.util.Hashtable<java.lang.String,java.lang.String> |
properties
Properties of the data object |
Constructor Summary | |
---|---|
ALDData()
Create a data object. |
Method Summary | |
---|---|
java.util.Hashtable<java.lang.String,java.lang.String> |
cloneProperties()
Clone the property hash of this obejct. |
java.lang.String |
getLocation()
Get the location property, i.e. property with key location |
java.lang.String |
getProperty(java.lang.String key)
Get a property value for the given key . |
java.util.Enumeration<java.lang.String> |
getPropertyKeys()
Get the keys of all properties set in this data object |
void |
print()
Print this data object to standard out |
void |
setLocation(java.lang.String location)
Set the location property, i.e. property with key location |
void |
setProperty(java.lang.String key,
java.lang.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 |
Field Detail |
---|
private java.util.Hashtable<java.lang.String,java.lang.String> properties
Constructor Detail |
---|
public ALDData()
Method Detail |
---|
public java.util.Hashtable<java.lang.String,java.lang.String> cloneProperties()
public java.lang.String getLocation()
public java.lang.String getProperty(java.lang.String key)
key
.
key
- key of property to getpublic java.util.Enumeration<java.lang.String> getPropertyKeys()
public void print()
public void setLocation(java.lang.String location)
location
- new value of location propertypublic void setProperty(java.lang.String key, java.lang.Object o)
key
- key of property to seto
- new value of this property
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |