|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteios.core.ParameterType<String>
org.proteios.core.StringParameterType
public class StringParameterType
This class represent a parameter type that is a string.
This type defines a max length
for the text.
| Constructor Summary | |
|---|---|
StringParameterType()
Create a new string parameter type, setting the max length to 255 and nulls are allowed. |
|
StringParameterType(Integer maxLength,
String defaultValue,
boolean notNull)
Create a new string parameter type. |
|
StringParameterType(Integer maxLength,
String defaultValue,
boolean notNull,
int multiplicity,
int width,
int height,
List<String> items)
|
|
| Method Summary | |
|---|---|
Integer |
getMaxLength()
Get the max length of the parameter. |
String |
toString()
|
| Methods inherited from class org.proteios.core.ParameterType |
|---|
getDefaultValue, getHeight, getItems, getMultiplicity, getNotNull, getParameterClass, getWidth, isEnumeration, validate, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StringParameterType()
public StringParameterType(Integer maxLength,
String defaultValue,
boolean notNull)
maxLength - The maximum length of the string that is allowed or null
to allow as long as possiblenotNull - FALSE if nulls values are allowed, TRUE otherwise
public StringParameterType(Integer maxLength,
String defaultValue,
boolean notNull,
int multiplicity,
int width,
int height,
List<String> items)
| Method Detail |
|---|
public String toString()
toString in class Objectpublic Integer getMaxLength()
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||