public abstract class AbstractNamed extends AbstractCloneable implements Named
Named
WorkflowBean
.AbstractCloneable.Cloning, AbstractCloneable.CopyVisitor
Constructor and Description |
---|
AbstractNamed()
Constructs a
Named WorkflowBean with a random UUID as the name. |
AbstractNamed(String name)
Constructs a
Named WorkflowBean with the specified name. |
Modifier and Type | Method and Description |
---|---|
protected void |
cloneInto(WorkflowBean clone,
AbstractCloneable.Cloning cloning) |
int |
compareTo(Object o) |
boolean |
equals(Object obj) |
String |
getName()
Returns the name of the
WorkflowBean . |
int |
hashCode() |
void |
setName(String name)
Sets the name of the
WorkflowBean . |
String |
toString() |
clone, cloneWorkflowBean
finalize, getClass, notify, notifyAll, wait, wait, wait
accept, clone
public AbstractNamed()
Named
WorkflowBean
with a random UUID as the name.public AbstractNamed(String name)
Named
WorkflowBean
with the specified name.name
- the name of the Named
WorkflowBean
. Must not be null
or an empty String.public int compareTo(Object o)
compareTo
in interface Comparable
public String getName()
Named
WorkflowBean
.public void setName(String name)
Named
WorkflowBean
.
The name must not be null
or an empty String.protected void cloneInto(WorkflowBean clone, AbstractCloneable.Cloning cloning)
cloneInto
in class AbstractCloneable
Copyright © 2013 myGrid. All rights reserved.