dfki.util.config
Class Config.Property

java.lang.Object
  |
  +--dfki.util.config.Config.Property
Direct Known Subclasses:
DotExecutor.Property, GrapherServlet.Property, RDFSchemaGrapher.Property, Util.Property
Enclosing class:
Config

public abstract static class Config.Property
extends java.lang.Object

Defines a property in a configuration. Values for a property can be read and set via the Config api.
Properties have a name, a description and a type denoting whether they can store single (string) values or multiple values (arrays of strings).


Field Summary
static boolean MULTI_VALUE
          Constant for multi valued properties
static java.lang.String SEPARATOR
          Path separator string
static boolean SINGLE_VALUE
          Constant for single valued properties
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getId()
           
 boolean isMultiValued()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SEPARATOR

public static final java.lang.String SEPARATOR
Path separator string

MULTI_VALUE

public static final boolean MULTI_VALUE
Constant for multi valued properties

SINGLE_VALUE

public static final boolean SINGLE_VALUE
Constant for single valued properties
Method Detail

getId

public java.lang.String getId()

getDescription

public java.lang.String getDescription()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isMultiValued

public boolean isMultiValued()