public class ParameterInfo extends Object
Constructor and Description |
---|
ParameterInfo(String name,
String comment,
boolean mandatory,
String pattern)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getComment()
Returns the comment.
|
String |
getName()
Returns the name.
|
String |
getPattern()
Returns the parameter value pattern in regular expression.
|
int |
hashCode() |
boolean |
isMandatory()
Returns whether or not this parameter is mandatory.
|
String |
toString() |
public ParameterInfo(String name, String comment, boolean mandatory, String pattern)
name
- the parameter namecomment
- the comment (nullable)mandatory
- true
if this parameter is mandatory, otherwise false
pattern
- the parameter value pattern in regular expression (nullable)public String getName()
public String getComment()
null
if it is not definedpublic boolean isMandatory()
true
if this parameter is mandatory, otherwise false
public String getPattern()
null
if it is not definedCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.