de.unihalle.informatik.Alida.operator
Class ALDDataPort

java.lang.Object
  extended by de.unihalle.informatik.Alida.operator.ALDPort
      extended by de.unihalle.informatik.Alida.operator.ALDDataPort

public class ALDDataPort
extends ALDPort

A data port acts as the reference for a data object in the processing history.


Field Summary
 
Fields inherited from class de.unihalle.informatik.Alida.operator.ALDPort
typeName
 
Constructor Summary
ALDDataPort(Object obj)
          Create a data port for an object.
 
Method Summary
 org.graphdrawing.graphml.xmlns.GraphmlType getGraphmlHistory()
          Get the grahphml history of this data port
 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 some information to System.out.
 void setGraphmlHistory(org.graphdrawing.graphml.xmlns.GraphmlType history)
          Set the grahphml history of this data port
 void setProperty(String key, Object o)
          Set the property with key to new value o.
 
Methods inherited from class de.unihalle.informatik.Alida.operator.ALDPort
getOrigin, print
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ALDDataPort

public ALDDataPort(Object obj)
Create a data port for an object.

Parameters:
obj - object to be represented by this data port.
Method Detail

getGraphmlHistory

public org.graphdrawing.graphml.xmlns.GraphmlType getGraphmlHistory()
Get the grahphml history of this data port

Returns:
history of this data port

setGraphmlHistory

public void setGraphmlHistory(org.graphdrawing.graphml.xmlns.GraphmlType history)
Set the grahphml history of this data port

Parameters:
history - history of this data port

getPropertyKeys

public Enumeration<String> getPropertyKeys()
Get the keys of all properties set in this data object

Returns:
property keys

setProperty

public void setProperty(String key,
                        Object o)
Set the property with key to new value o.

Parameters:
key - key of property to set
o - new value of this property

getProperty

public String getProperty(String key)
Get a property value for the given key.

Parameters:
key - key of property to get

getLocation

public String getLocation()
Get the location property, i.e. property with key location


print

public void print()
Print some information to System.out.

Overrides:
print in class ALDPort


Copyright © 2010–2014 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.