de.cau.cs.kieler.kiml.ui.preferences
Class OptionsTableProvider.DataEntry

java.lang.Object
  extended by de.cau.cs.kieler.kiml.ui.preferences.OptionsTableProvider.DataEntry
Enclosing class:
OptionsTableProvider

public static class OptionsTableProvider.DataEntry
extends Object

data type for row entries in the table.

Rating red

Constructor Summary
OptionsTableProvider.DataEntry(String name, String id, ElementType thetype, LayoutOptionData<?> theoptionData, Object thevalue)
          Creates a data entry.
 
Method Summary
 boolean equals(Object object)
          
 String getElementId()
          Returns the associated element identifier.
 String getElementName()
          Returns the associated element name.
 LayoutOptionData<?> getOptionData()
          Returns the option data.
 ElementType getType()
          Returns the type of element (diagram type / model element / edit part).
 Object getValue()
          Returns the value.
 int hashCode()
          
 void setValue(Object thevalue)
          Sets the value.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionsTableProvider.DataEntry

public OptionsTableProvider.DataEntry(String name,
                                      String id,
                                      ElementType thetype,
                                      LayoutOptionData<?> theoptionData,
                                      Object thevalue)
Creates a data entry.

Parameters:
name - name of the associated diagram type or element
id - identifier of the associated diagram type or element type
thetype - type of element (diagram type / model element / edit part)
theoptionData - layout option data
thevalue - the current value
Method Detail

getElementName

public String getElementName()
Returns the associated element name.

Returns:
the name of the associated element

getElementId

public String getElementId()
Returns the associated element identifier.

Returns:
the identifier of the associated element

getType

public ElementType getType()
Returns the type of element (diagram type / model element / edit part).

Returns:
the element type

getOptionData

public LayoutOptionData<?> getOptionData()
Returns the option data.

Returns:
the option data

getValue

public Object getValue()
Returns the value.

Returns:
the value

setValue

public void setValue(Object thevalue)
Sets the value.

Parameters:
thevalue - the new value

equals

public boolean equals(Object object)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object