|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.metamodel.facets.ordering.OrderSet
public class OrderSet
| Field Summary | |
|---|---|
protected java.util.SortedSet<DeweyOrderSet> |
childOrderSets
A staging area until we are ready to add the child sets to the collection of elements owned by the superclass. |
| Constructor Summary | |
|---|---|
OrderSet(java.lang.String groupFullName)
|
|
| Method Summary | |
|---|---|
protected void |
addAll(java.util.SortedSet<DeweyOrderSet> sortedMembers)
|
protected void |
addChild(DeweyOrderSet childOrderSet)
|
protected void |
addElement(java.lang.Object element)
|
java.util.List<DeweyOrderSet> |
children()
|
int |
compareTo(java.lang.Object o)
Natural ordering is to compare by getGroupFullName(). |
int |
compareTo(OrderSet o)
|
protected void |
copyOverChildren()
|
java.util.List<java.lang.Object> |
elementList()
Returns a copy of the elements, in sequence. |
java.util.Enumeration<java.lang.Object> |
elements()
|
java.lang.String |
getGroupFullName()
The group name exactly as it was supplied in the constructor (analogous to a fully qualified file name). |
java.lang.String |
getGroupName()
Last component of the comma-separated group name supplied in the constructor (analogous to the file name extracted from a fully qualified file name). |
java.lang.String |
getGroupPath()
Represents the parent groups, derived from the group name supplied in the constructor (analogous to the directory portion of a fully qualified file name). |
OrderSet |
getParent()
|
protected void |
setParent(DeweyOrderSet parent)
|
int |
size()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.SortedSet<DeweyOrderSet> childOrderSets
| Constructor Detail |
|---|
public OrderSet(java.lang.String groupFullName)
| Method Detail |
|---|
public java.lang.String getGroupName()
For example, if supplied abc,def,ghi in the constructor, then this will return ghi.
public java.lang.String getGroupFullName()
For example, if supplied abc,def,ghi in the constructor, then this will return the same string abc,def,ghi.
public java.lang.String getGroupPath()
For example, if supplied abc,def,ghi in the constructor, then this will return abc,def.
protected void setParent(DeweyOrderSet parent)
public OrderSet getParent()
protected void addChild(DeweyOrderSet childOrderSet)
public java.util.List<DeweyOrderSet> children()
protected void copyOverChildren()
public java.util.List<java.lang.Object> elementList()
public int size()
protected void addElement(java.lang.Object element)
public java.util.Enumeration<java.lang.Object> elements()
protected void addAll(java.util.SortedSet<DeweyOrderSet> sortedMembers)
public int compareTo(java.lang.Object o)
getGroupFullName().
compareTo in interface java.lang.Comparablepublic int compareTo(OrderSet o)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||