public class ComplexDataQuerySelectionImpl extends java.lang.Object implements ComplexDataQuerySelection
Constructor and Description |
---|
ComplexDataQuerySelectionImpl(java.lang.String componentId,
ComplexComponentValue... value) |
ComplexDataQuerySelectionImpl(java.lang.String componentId,
java.util.Set<ComplexComponentValue> values) |
Modifier and Type | Method and Description |
---|---|
void |
addValue(ComplexComponentValue value) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getComponentId()
Returns the component Id that the code selection(s) are for.
|
ComplexComponentValue |
getValue()
Returns the component value of the code that has been selected for the component.
|
java.util.Set<ComplexComponentValue> |
getValues()
Returns all the code values that have been selected for this component
|
int |
hashCode() |
boolean |
hasMultipleValues()
Returns true if more then one value exists for this component
|
java.lang.String |
toString() |
public ComplexDataQuerySelectionImpl(java.lang.String componentId, ComplexComponentValue... value)
public ComplexDataQuerySelectionImpl(java.lang.String componentId, java.util.Set<ComplexComponentValue> values)
public void addValue(ComplexComponentValue value)
public java.lang.String getComponentId()
ComplexDataQuerySelection
getComponentId
in interface ComplexDataQuerySelection
public ComplexComponentValue getValue()
ComplexDataQuerySelection
getValue
in interface ComplexDataQuerySelection
public java.util.Set<ComplexComponentValue> getValues()
ComplexDataQuerySelection
getValues
in interface ComplexDataQuerySelection
public boolean hasMultipleValues()
ComplexDataQuerySelection
hasMultipleValues
in interface ComplexDataQuerySelection
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object