Qizx fe-4.4p2 API

com.qizx.api
Class Configuration.Property

java.lang.Object
  extended by com.qizx.api.Configuration.Property
All Implemented Interfaces:
Comparable<Configuration.Property>
Enclosing class:
Configuration

public static class Configuration.Property
extends Object
implements Comparable<Configuration.Property>

Properties of Qizx Configuration.


Constructor Summary
Configuration.Property(String name, String category, String level, String description, Object defaultValue)
           
Configuration.Property(String name, String category, String level, String description, Object defaultValue, Object minValue, Object maxValue)
           
 
Method Summary
 boolean booleanValue(Object value)
           
 long checkLong(Object value)
           
 Object checkValue(Object value)
           
 int compareTo(Configuration.Property p)
           
 String getCategory()
           
 Object getDefaultValue()
           
 String getDescription()
           
 String getLevel()
           
 String getName()
           
 Class<?> getType()
           
 int intValue(Object value)
           
 long longValue(Object value)
           
 String stringValue(Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Configuration.Property

public Configuration.Property(String name,
                              String category,
                              String level,
                              String description,
                              Object defaultValue)

Configuration.Property

public Configuration.Property(String name,
                              String category,
                              String level,
                              String description,
                              Object defaultValue,
                              Object minValue,
                              Object maxValue)
Method Detail

getName

public String getName()

getType

public Class<?> getType()

getDescription

public String getDescription()

getCategory

public String getCategory()

getLevel

public String getLevel()

checkValue

public Object checkValue(Object value)
                  throws IllegalArgumentException
Throws:
IllegalArgumentException

checkLong

public long checkLong(Object value)
               throws IllegalArgumentException
Throws:
IllegalArgumentException

stringValue

public String stringValue(Object value)

booleanValue

public boolean booleanValue(Object value)

intValue

public int intValue(Object value)

longValue

public long longValue(Object value)

getDefaultValue

public Object getDefaultValue()

compareTo

public int compareTo(Configuration.Property p)
Specified by:
compareTo in interface Comparable<Configuration.Property>

© 2010 Axyana Software