|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.p13n.model.PropertyContainer
public class PropertyContainer
An object representing the comparision of a property to a set of literals and/or other properties.
| Nested Class Summary | |
|---|---|
static class |
PropertyContainer.JoinType
|
| Constructor Summary | |
|---|---|
PropertyContainer(PropertyRefModel property,
PropertyContainer.JoinType join)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addAllComparisons(List<Comparison> list)
Add all the specified comparisons. |
void |
addComparison(Comparison comparison)
Add a comparison to this property. |
void |
clearComparisons()
Clear all comparisons. |
boolean |
equals(Object o)
Determine if another object is equal to us. |
Comparison[] |
getComparisons()
Get the comparisons as an array. |
List<Comparison> |
getComparisonsList()
Get the comparisons as a read-only list. |
PropertyContainer.JoinType |
getJoin()
Get the boolean logic (AND or OR) |
PropertyRefModel |
getProperty()
Get the property. |
int |
hashCode()
Override to provide an equality-aware hash code function. |
boolean |
isEmpty()
Does the property container have any comparisons. |
void |
removeComparison(Comparison comparison)
Remove a comparison to this property. |
void |
setComparisonsList(List<Comparison> list)
Set the list of comparisons. |
void |
setJoin(PropertyContainer.JoinType join)
Set the boolean logic (AND or OR) |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyContainer(PropertyRefModel property,
PropertyContainer.JoinType join)
| Method Detail |
|---|
public PropertyRefModel getProperty()
public void addComparison(Comparison comparison)
public void removeComparison(Comparison comparison)
public void clearComparisons()
public Comparison[] getComparisons()
public List<Comparison> getComparisonsList()
public void setComparisonsList(List<Comparison> list)
public void addAllComparisons(List<Comparison> list)
public boolean isEmpty()
public void setJoin(PropertyContainer.JoinType join)
public PropertyContainer.JoinType getJoin()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||