org.opengts.db
Class DCServerConfig.CommandArg

java.lang.Object
  extended by org.opengts.db.DCServerConfig.CommandArg
Enclosing class:
DCServerConfig

public static class DCServerConfig.CommandArg
extends java.lang.Object


Constructor Summary
DCServerConfig.CommandArg(JSON._Object arg)
           
DCServerConfig.CommandArg(java.lang.String name, java.lang.String desc, boolean readOnly, java.lang.String resKey, java.lang.String dftVal)
           
 
Method Summary
 DCServerConfig.Command getCommand()
           
 java.lang.String getDefaultValue()
           
 java.lang.String getDescription()
           
 int getDisplayLength()
           
 int getMaximumLength()
           
 java.lang.String getName()
           
 java.lang.String getResourceName()
           
 boolean isReadOnly()
           
 void setCommand(DCServerConfig.Command cmd)
           
 void setLength(int dispLen, int maxLen)
           
 JSON._Object toJsonObject()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DCServerConfig.CommandArg

public DCServerConfig.CommandArg(JSON._Object arg)

DCServerConfig.CommandArg

public DCServerConfig.CommandArg(java.lang.String name,
                                 java.lang.String desc,
                                 boolean readOnly,
                                 java.lang.String resKey,
                                 java.lang.String dftVal)
Method Detail

getName

public java.lang.String getName()

getDescription

public java.lang.String getDescription()

isReadOnly

public boolean isReadOnly()

setCommand

public void setCommand(DCServerConfig.Command cmd)

getCommand

public DCServerConfig.Command getCommand()

getResourceName

public java.lang.String getResourceName()

getDefaultValue

public java.lang.String getDefaultValue()

setLength

public void setLength(int dispLen,
                      int maxLen)

getDisplayLength

public int getDisplayLength()

getMaximumLength

public int getMaximumLength()

toString

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

toJsonObject

public JSON._Object toJsonObject()