java.lang.Objectucot.model.object.Method
public class Method
This class represents method of an entity.
Field Summary | |
---|---|
private java.util.Set<Entity> |
influenced
The list of entities that can be indluenced by this method. |
private java.lang.String |
name
The name of the method. |
static long |
serialVersionUID
|
Constructor Summary | |
---|---|
Method(java.lang.String name)
Creates new method called name. |
Method Summary | |
---|---|
void |
addInfluence(Entity entity)
Adds influence to this method. |
java.util.Set<Entity> |
getInfluenced()
Returns the set of entities that are influenced by this method. |
java.lang.String |
getName()
Returns the name of the method. |
void |
removeInfluence(Entity entity)
Removes influence from this method. |
protected void |
setName(java.lang.String name)
Sets the name of the method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
private java.lang.String name
private java.util.Set<Entity> influenced
Constructor Detail |
---|
public Method(java.lang.String name)
name
- Method Detail |
---|
protected void setName(java.lang.String name)
name
- public java.util.Set<Entity> getInfluenced()
public void addInfluence(Entity entity)
entity
- public void removeInfluence(Entity entity)
entity
- public java.lang.String getName()