|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 2 (11.1.2) E27155-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.security.jps.service.policystore.info.ValueCollection
public final class ValueCollection
This class represents a collection of values. It can contain either unique values (isSet() == true) or a bag of values, some of which may be duplicates (isSet() == false).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface oracle.security.jps.service.policystore.info.ExpressionComponent |
|---|
ExpressionComponent.Type |
| Constructor Summary | |
|---|---|
ValueCollection() |
|
ValueCollection(boolean allowDuplicates) |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object that) |
ExpressionComponent.Type |
getComponentType()Returns type of the component. |
DataType.TYPE |
getTypeOfCollection()Returns data type of objects in this bag/ set of values. |
java.util.List<? extends DataType> |
getValue()Returns the collection of values. |
java.util.List<? extends DataType> |
getValues()Returns the collection of values. |
int |
hashCode() |
boolean |
isSet() |
boolean |
isValid() |
void |
setValues(java.util.List<? extends DataType> vals)Sets the bag/ set of values. |
java.lang.String |
toString() |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ValueCollection()
public ValueCollection(boolean allowDuplicates)
| Method Detail |
|---|
public java.util.List<? extends DataType> getValues()
public java.util.List<? extends DataType> getValue()
public void setValues(java.util.List<? extends DataType> vals)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException - if: 1. Duplicates are not allowed and vals contains duplicates OR 2. DataType of all values in vals is not the same. A ValueCollection can have elements of a single data type only.public DataType.TYPE getTypeOfCollection()
public ExpressionComponent.Type getComponentType()
ExpressionComponentgetComponentType in interface ExpressionComponentpublic boolean isValid()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isSet()
public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 2 (11.1.2) E27155-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||