org.xins.common.spec
Class ParameterSpec

java.lang.Object
  extended byorg.xins.common.spec.ParameterSpec

public final class ParameterSpec
extends Object

Specification of a parameter.

Since:
XINS 1.3.0
Version:
$Revision: 1.8.2.1 $ $Date: 2007/03/23 14:23:12 $
Author:
Anthony Goubard

Method Summary
 String getDescription()
          Gets the description of the parameter.
 String getName()
          Gets the name of the parameter.
 Type getType()
          Gets the type of the parameter.
 boolean isRequired()
          Returns whether the parameter is mandatory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public String getName()
Gets the name of the parameter.

Returns:
the name of the parameter, never null.

getDescription

public String getDescription()
Gets the description of the parameter.

Returns:
the description of the parameter, never null.

isRequired

public boolean isRequired()
Returns whether the parameter is mandatory.

Returns:
true if the parameter is required, false otherwise.

getType

public Type getType()
Gets the type of the parameter.

Returns:
the type of the parameter, never null.


See http://www.xins.org/.