org.jcoderz.phoenix.templategen
Class Parameter

java.lang.Object
  extended by org.jcoderz.phoenix.templategen.Parameter

public class Parameter
extends Object

Author:
Albrecht Messner

Constructor Summary
Parameter(String name, int minLength, int maxLength, boolean multiLine)
           
 
Method Summary
 void checkValue(String value)
           
 String getDefaultValue()
           
 String getDescription()
           
 int getMaxLength()
           
 int getMinLength()
           
 String getName()
           
 String getRegexp()
           
 boolean isMultiLine()
           
 void setDefaultValue(String string)
           
 void setDescription(String string)
           
 void setRegexp(String string)
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Parameter

public Parameter(String name,
                 int minLength,
                 int maxLength,
                 boolean multiLine)
Method Detail

getMaxLength

public int getMaxLength()

getMinLength

public int getMinLength()

isMultiLine

public boolean isMultiLine()

getName

public String getName()

getDescription

public String getDescription()

setDescription

public void setDescription(String string)

getDefaultValue

public String getDefaultValue()

getRegexp

public String getRegexp()

setDefaultValue

public void setDefaultValue(String string)

setRegexp

public void setRegexp(String string)

checkValue

public void checkValue(String value)
                throws TemplateGeneratorException
Throws:
TemplateGeneratorException

toString

public String toString()

Overrides:
toString in class Object


Copyright 2007 The jCoderZ Project.