org.xins.common.spec
Class ParamComboSpec

java.lang.Object
  extended byorg.xins.common.spec.ComboSpec
      extended byorg.xins.common.spec.ParamComboSpec

public final class ParamComboSpec
extends org.xins.common.spec.ComboSpec

Specification of a param combo.

Since:
XINS 1.3.0
Version:
$Revision: 1.9 $ $Date: 2006/08/28 09:12:34 $
Author:
Anthony Goubard

Method Summary
 Map getParameters()
          Gets the parameters defined in the param combo.
protected  Map getReferences()
          Gets the parameters or attributes defined in the combo.
 boolean isAllOrNone()
          Returns whether the combo is a all-or-none type.
 boolean isExclusiveOr()
          Returns whether the combo is a exclusive-or type.
 boolean isInclusiveOr()
          Returns whether the combo is a inclusive-or type.
 boolean isNotAll()
          Returns whether the combo is a not-all type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getParameters

public Map getParameters()
Gets the parameters defined in the param combo. The key is the name of the parameter, the value is the ParameterSpec object.

Returns:
The specification of the parameters defined in the param combo, never null.

isAllOrNone

public boolean isAllOrNone()
Returns whether the combo is a all-or-none type.

Returns:
true if the type is all-or-none, false otherwise.

isNotAll

public boolean isNotAll()
Returns whether the combo is a not-all type.

Returns:
true if the type is not-all, false otherwise.

isExclusiveOr

public boolean isExclusiveOr()
Returns whether the combo is a exclusive-or type.

Returns:
true if the type is exclusive-or, false otherwise.

isInclusiveOr

public boolean isInclusiveOr()
Returns whether the combo is a inclusive-or type.

Returns:
true if the type is inclusive-or, false otherwise.

getReferences

protected Map getReferences()
Gets the parameters or attributes defined in the combo. The key is the name of the parameter or of the attributes, the value is the ParameterSpec object.

Returns:
the specification of the parameters defined in the combo, never null.


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