Package com.flower.docs.operation.api
Class Operation
- java.lang.Object
-
- com.flower.docs.operation.api.Operation
-
- All Implemented Interfaces:
java.io.Serializable
public class Operation extends java.lang.Object implements java.io.Serializable
Defines a Core operation which stands for anAction
on anObjectType
- Author:
- Christopher Laszczuk
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
com.flower.docs.domain.fact.Action
getAction()
Gets theAction
which the operation executescom.flower.docs.domain.fact.ObjectType
getObjectType()
Gets theObjectType
int
hashCode()
void
setAction(com.flower.docs.domain.fact.Action action)
void
setObjectType(com.flower.docs.domain.fact.ObjectType objectType)
java.lang.String
toString()
-
-
-
Method Detail
-
getAction
public com.flower.docs.domain.fact.Action getAction()
Gets theAction
which the operation executes- Returns:
- The action done when the action is executed
-
setAction
public void setAction(com.flower.docs.domain.fact.Action action)
-
getObjectType
public com.flower.docs.domain.fact.ObjectType getObjectType()
Gets theObjectType
- Returns:
- The type of object on which the action is executed
-
setObjectType
public void setObjectType(com.flower.docs.domain.fact.ObjectType objectType)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
-