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
YPersistenceException
public void clearChildren()
public boolean removeChild(YIdentifier child)
public YIdentifier createChild(YPersistenceManager pmgr, int childNum) throws YPersistenceException
childNum
- YPersistenceException
public 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.Object
public void addLocation(YPersistenceManager pmgr, YNetElement condition) throws YPersistenceException
YPersistenceException
public void clearLocations(YPersistenceManager pmgr) throws YPersistenceException
YPersistenceException
public void clearLocation(YPersistenceManager pmgr, YNetElement condition) throws YPersistenceException
YPersistenceException
public void removeLocation(YPersistenceManager pmgr, YNetElement condition) throws YPersistenceException
YPersistenceException
public void addLocation(YPersistenceManager pmgr, YTask task) throws YPersistenceException
YPersistenceException
public void removeLocation(YPersistenceManager pmgr, YTask task) throws YPersistenceException
YPersistenceException
public 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.Object
public boolean equalsOrIsAncestorOf(YIdentifier another)
public int hashCode()
hashCode
in class java.lang.Object
Object.equals(Object)
,
Hashtable
Copyright © 2004-2014 The YAWL Foundation.