org.xins.common.spec
Class AttributeComboSpec

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

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

Specification of a attribute combo.

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

Method Summary
 Map getAttributes()
          Gets the attributes defined in the attribute 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

getAttributes

public Map getAttributes()
Gets the attributes defined in the attribute combo. The key is the name of the attribute, the value is the ParameterSpec object.

Returns:
The specification of the attributes defined in the attribute 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/.