public class OrgGroup extends AbstractResourceAttribute implements java.lang.Comparable
Modifier and Type | Class and Description |
---|---|
static class |
OrgGroup.GroupType |
_description, _id, _notes, _persisting, _resources
Constructor and Description |
---|
OrgGroup() |
OrgGroup(Element e) |
OrgGroup(java.lang.String groupName,
OrgGroup.GroupType groupType,
OrgGroup belongsTo,
java.lang.String description) |
OrgGroup(java.lang.String groupName,
OrgGroup.GroupType groupType,
OrgGroup belongsTo,
java.lang.String description,
boolean persisting) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
get_belongsToID() |
java.lang.String |
get_groupType() |
OrgGroup |
getBelongsTo() |
java.lang.String |
getGroupName() |
OrgGroup.GroupType |
getGroupType() |
OrgGroup.GroupType |
getGroupTypeFromString(java.lang.String name) |
java.lang.String |
getName() |
boolean |
hasResourceInHierarchy(AbstractResource resource) |
void |
reconstitute(Element e) |
void |
set_belongsToID(java.lang.String belongsToID) |
void |
set_groupType(java.lang.String name) |
void |
setBelongsTo(OrgGroup belongsTo) |
boolean |
setBelongsTo(java.lang.String ownerID) |
void |
setGroupName(java.lang.String groupName) |
void |
setGroupType(OrgGroup.GroupType groupType) |
void |
setGroupType(java.lang.String groupTypeStr) |
void |
setLabel(java.lang.String label) |
java.lang.String |
toXML() |
addResource, fromXML, get_resources, getDescription, getID, getNotes, getOrgDataSet, getResources, hashCode, hasResource, isPersisting, removeResource, save, set_resources, setDescription, setID, setNotes, setPersisting, toString
public OrgGroup()
public OrgGroup(java.lang.String groupName, OrgGroup.GroupType groupType, OrgGroup belongsTo, java.lang.String description)
public OrgGroup(java.lang.String groupName, OrgGroup.GroupType groupType, OrgGroup belongsTo, java.lang.String description, boolean persisting)
public OrgGroup(Element e)
public void setLabel(java.lang.String label)
setLabel
in class AbstractResourceAttribute
public java.lang.String getGroupName()
public void setGroupName(java.lang.String groupName)
public java.lang.String getName()
getName
in class AbstractResourceAttribute
public OrgGroup.GroupType getGroupType()
public OrgGroup.GroupType getGroupTypeFromString(java.lang.String name)
public void setGroupType(OrgGroup.GroupType groupType)
public void setGroupType(java.lang.String groupTypeStr)
public OrgGroup getBelongsTo()
public void setBelongsTo(OrgGroup belongsTo)
public boolean setBelongsTo(java.lang.String ownerID)
public boolean hasResourceInHierarchy(AbstractResource resource)
public java.lang.String get_groupType()
public void set_groupType(java.lang.String name)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public java.lang.String toXML()
public void reconstitute(Element e)
reconstitute
in class AbstractResourceAttribute
public java.lang.String get_belongsToID()
public void set_belongsToID(java.lang.String belongsToID)
Copyright © 2004-2014 The YAWL Foundation.