|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcreek.representation.RelationTypeSet
This class represents a set of RelationTypes.
Constructor Summary | |
RelationTypeSet()
Create an empty RelationTypeSet. |
|
RelationTypeSet(RelationType rcd)
Creates a RelationTypeSet from the supplied RelationType. |
Method Summary | |
void |
addElement(RelationType rcd)
Adds the supplied RelationType to the set, but does not add subclasses of the RelationType. |
protected java.lang.Object |
clone()
|
boolean |
contains(RelationType rcd)
Returnes true if the set contains the supplied RelationType. |
RelationTypeSet |
copy()
|
boolean |
empty()
Returnes true if the set is empty. |
boolean |
equals(java.lang.Object ob)
|
int |
hashCode()
|
RelationTypeSet |
intersect(RelationTypeSet newRule)
Merges this RelationTypeSet with another RelationTypeSet in such a manner that it will only contain the RelationTypes contained in both sets. |
boolean |
isSubsetOf(RelationTypeSet rule)
Returnes true if this set is a subset of the supplied set. |
void |
removeElement(RelationType rcd)
Removes the supplied RelationType to the set, but does not add subclasses of the RelationType. |
RelationTypeSet |
subtract(RelationTypeSet newRule)
Removes all RelationTypes found in set passed as a parameter to the method. |
java.lang.String |
toString()
|
RelationTypeSet |
union(RelationTypeSet newRule)
Merges this RelationTypeSet with another RelationTypeSet in such a manner that it will contain all the RelationTypes contained in either set. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RelationTypeSet()
public RelationTypeSet(RelationType rcd)
Method Detail |
public RelationTypeSet intersect(RelationTypeSet newRule)
public RelationTypeSet union(RelationTypeSet newRule)
public RelationTypeSet subtract(RelationTypeSet newRule)
public boolean isSubsetOf(RelationTypeSet rule)
public void addElement(RelationType rcd)
public void removeElement(RelationType rcd)
public boolean contains(RelationType rcd)
public boolean empty()
protected java.lang.Object clone()
public RelationTypeSet copy()
public java.lang.String toString()
public boolean equals(java.lang.Object ob)
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |