de.surethingies.properties
Class ParameterImpl
java.lang.Object
de.surethingies.properties.ParameterImpl
- All Implemented Interfaces:
- Parameter, Comparable<Parameter>
public class ParameterImpl
- extends Object
- implements Parameter
ParameterImpl
public ParameterImpl(String group,
String identifier,
String displayName,
String defaultValue,
boolean isEditable,
ValueType valueType,
int order)
getGroup
public String getGroup()
- Specified by:
getGroup
in interface Parameter
- Returns:
- The Group of this Key
getIdentifier
public String getIdentifier()
- Specified by:
getIdentifier
in interface Parameter
- Returns:
- The Name of this Key
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interface Parameter
- Returns:
- The Displayname of this Property
getDefaultValue
public String getDefaultValue()
- Specified by:
getDefaultValue
in interface Parameter
- Returns:
- The Parameters Default Value
valueIsEditable
public boolean valueIsEditable()
- Description copied from interface:
Parameter
- The Property is Editable (and should perhaps be displaye inside a
PropertyEditor)
- Specified by:
valueIsEditable
in interface Parameter
- Returns:
- true, if Property is editable
valueType
public ValueType valueType()
- Specified by:
valueType
in interface Parameter
- Returns:
- The ValueType of this Property (STRING, TEXT...)
getOrder
public int getOrder()
- Specified by:
getOrder
in interface Parameter
- Returns:
- An Ordering Integer Value
toString
public String toString()
- Overrides:
toString
in class Object
compareTo
public int compareTo(Parameter o)
- Specified by:
compareTo
in interface Comparable<Parameter>
Copyright © 2007. All Rights Reserved.