de.surethingies.properties
Class ParameterImpl

java.lang.Object
  extended by de.surethingies.properties.ParameterImpl
All Implemented Interfaces:
Parameter, Comparable<Parameter>

public class ParameterImpl
extends Object
implements Parameter


Constructor Summary
ParameterImpl(String group, String identifier, String displayName, String defaultValue, boolean isEditable, ValueType valueType, int order)
           
 
Method Summary
 int compareTo(Parameter o)
           
 String getDefaultValue()
           
 String getDisplayName()
           
 String getGroup()
           
 String getIdentifier()
           
 int getOrder()
           
 String toString()
           
 boolean valueIsEditable()
          The Property is Editable (and should perhaps be displaye inside a PropertyEditor)
 ValueType valueType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParameterImpl

public ParameterImpl(String group,
                     String identifier,
                     String displayName,
                     String defaultValue,
                     boolean isEditable,
                     ValueType valueType,
                     int order)
Method Detail

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.