public class YIdentifier
extends java.lang.Object
| Constructor and Description | 
|---|
| YIdentifier() | 
| YIdentifier(java.lang.String idString) | 
public YIdentifier()
public YIdentifier(java.lang.String idString)
public java.lang.String getId()
public void setId(java.lang.String id)
public java.util.List<java.lang.String> getLocationNames()
public void setLocationNames(java.util.List<java.lang.String> names)
public java.lang.String get_idString()
public void set_idString(java.lang.String id)
public void set_children(java.util.List<YIdentifier> children)
public java.util.List<YIdentifier> get_children()
public YIdentifier get_parent()
public void set_parent(YIdentifier parent)
public java.util.List<YIdentifier> getChildren()
public java.util.Set<YIdentifier> getDescendants()
public YIdentifier createChild(YPersistenceManager pmgr) throws YPersistenceException
YPersistenceExceptionpublic void clearChildren()
public boolean removeChild(YIdentifier child)
public YIdentifier createChild(YPersistenceManager pmgr, int childNum) throws YPersistenceException
childNum - YPersistenceExceptionpublic YIdentifier getParent()
public boolean hasParent()
public boolean isImmediateChildOf(YIdentifier identifier)
public boolean isAncestorOf(YIdentifier identifier)
public java.lang.String toString()
toString in class java.lang.Objectpublic void addLocation(YPersistenceManager pmgr, YNetElement condition) throws YPersistenceException
YPersistenceExceptionpublic void clearLocations(YPersistenceManager pmgr) throws YPersistenceException
YPersistenceExceptionpublic void clearLocation(YPersistenceManager pmgr, YNetElement condition) throws YPersistenceException
YPersistenceExceptionpublic void removeLocation(YPersistenceManager pmgr, YNetElement condition) throws YPersistenceException
YPersistenceExceptionpublic void addLocation(YPersistenceManager pmgr, YTask task) throws YPersistenceException
YPersistenceExceptionpublic void removeLocation(YPersistenceManager pmgr, YTask task) throws YPersistenceException
YPersistenceExceptionpublic java.util.List<YNetElement> getLocations()
public YIdentifier getRootAncestor()
public long getLogKey()
public void setLogKey(long key)
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic boolean equalsOrIsAncestorOf(YIdentifier another)
public int hashCode()
hashCode in class java.lang.ObjectObject.equals(Object), 
HashtableCopyright © 2004-2014 The YAWL Foundation.