de.cau.cs.kieler.kiml
Class LayoutTypeData

java.lang.Object
  extended by de.cau.cs.kieler.kiml.LayoutTypeData
All Implemented Interfaces:
ILayoutData

public class LayoutTypeData
extends Object
implements ILayoutData

Data type used to store information for a layout type.

Rating yellow
(2011-02-01) reviewed by cmot, soh

Field Summary
static String DEFAULT_TYPE_NAME
          default name for layout types for which no name is given.
 
Constructor Summary
LayoutTypeData()
           
 
Method Summary
 boolean equals(Object obj)
          
 String getDescription()
          Returns the description.
 String getId()
          Returns the layout type identifier.
 List<LayoutAlgorithmData> getLayouters()
          Returns the list of layout algorithms that are registered for this type.
 String getName()
          Returns the name of the layout type.
 int hashCode()
          
 void setDescription(String thedescription)
          Sets the description.
 void setId(String theid)
          Sets the layout type identifier.
 void setName(String thename)
          Sets the name of the layout type.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_TYPE_NAME

public static final String DEFAULT_TYPE_NAME
default name for layout types for which no name is given.

See Also:
Constant Field Values
Constructor Detail

LayoutTypeData

public LayoutTypeData()
Method Detail

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

toString

public String toString()

Overrides:
toString in class Object

getLayouters

public List<LayoutAlgorithmData> getLayouters()
Returns the list of layout algorithms that are registered for this type.

Returns:
the layouters

getId

public String getId()
Returns the layout type identifier.

Specified by:
getId in interface ILayoutData
Returns:
the layout type identifier

setId

public void setId(String theid)
Sets the layout type identifier.

Specified by:
setId in interface ILayoutData
Parameters:
theid - the identifier to set

getName

public String getName()
Returns the name of the layout type.

Specified by:
getName in interface ILayoutData
Returns:
the name

setName

public void setName(String thename)
Sets the name of the layout type.

Specified by:
setName in interface ILayoutData
Parameters:
thename - the name to set

getDescription

public String getDescription()
Returns the description.

Specified by:
getDescription in interface ILayoutData
Returns:
the description

setDescription

public void setDescription(String thedescription)
Sets the description.

Specified by:
setDescription in interface ILayoutData
Parameters:
thedescription - the description to set