de.cau.cs.kieler.core.properties
Interface IProperty<T>

Type Parameters:
T - type of the property
All Known Implementing Classes:
LayoutOptionData, Property

public interface IProperty<T>

Interface for property identifiers. Properties have a type and a default value, and they have an internal mechanism for identification, which should be compatible with their Object.equals(Object) and Object.hashCode() implementations.

Rating red

Method Summary
 T getDefault()
          Returns the default value of this property.
 Object getIdentifier()
          Returns an object that can be used as identifier for this property.
 

Method Detail

getDefault

T getDefault()
Returns the default value of this property.

Returns:
the default value

getIdentifier

Object getIdentifier()
Returns an object that can be used as identifier for this property.

Returns:
an identifier