|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.opencyc.uml.core.Element | +--org.opencyc.uml.core.ModelElement | +--org.opencyc.uml.statemachine.Transition
Transition from the UML State_Machines package. The passing from one state to another is performed when a transition is triggered by an event that occurs.
Copyright 2001 Cycorp, Inc., license is open source GNU LGPL.
THIS SOFTWARE AND KNOWLEDGE BASE CONTENT ARE PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OPENCYC ORGANIZATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE AND KNOWLEDGE BASE CONTENT, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Field Summary | |
protected org.opencyc.uml.core.Procedure |
effect
the effect of this transition |
protected Guard |
guard
the guard for this transition |
protected StateVertex |
source
the source state of this transition |
protected StateMachine |
stateMachine
the state machine containing this transition |
protected StateVertex |
target
the target state of this transition |
protected Event |
trigger
the event which triggered this transition |
Fields inherited from class org.opencyc.uml.core.ModelElement |
comment, name, namespace |
Constructor Summary | |
Transition()
Constructs a new Transition object. |
Method Summary | |
org.opencyc.uml.core.Procedure |
getEffect()
Gets the effect of this transition |
Guard |
getGuard()
Gets the guard for this transition |
StateVertex |
getSource()
Gets the source state of this transition |
StateMachine |
getStateMachine()
Gets the state machine containing this transition |
StateVertex |
getTarget()
Gets the target state of this transition |
Event |
getTrigger()
Gets the event which triggered this transition |
boolean |
isSelfTransition()
Gets whether this is a self transition, meaning that the source and target states are the same state. |
void |
setEffect(org.opencyc.uml.core.Procedure effect)
Sets the effect of this transition |
void |
setGuard(Guard guard)
Sets the guard for this transition |
void |
setSource(StateVertex source)
Sets source state of this transition |
void |
setStateMachine(StateMachine stateMachine)
Sets the state machine containing this transition |
void |
setTarget(StateVertex target)
Sets the target state of this transition |
void |
setTrigger(Event trigger)
Sets the event which triggered this transition |
Methods inherited from class org.opencyc.uml.core.ModelElement |
equals, getComment, getName, getNamespace, setComment, setName, setNamespace, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Guard guard
protected org.opencyc.uml.core.Procedure effect
protected Event trigger
protected StateVertex source
protected StateVertex target
protected StateMachine stateMachine
Constructor Detail |
public Transition()
Method Detail |
public Guard getGuard()
public void setGuard(Guard guard)
guard
- the guard for this transitionpublic org.opencyc.uml.core.Procedure getEffect()
public void setEffect(org.opencyc.uml.core.Procedure effect)
effect
- the effect of this transitionpublic Event getTrigger()
public void setTrigger(Event trigger)
trigger
- the event which triggered this transitionpublic StateVertex getSource()
public void setSource(StateVertex source)
sthe
- ource source state of this transitionpublic StateVertex getTarget()
public void setTarget(StateVertex target)
target
- the target state of this transitionpublic StateMachine getStateMachine()
public void setStateMachine(StateMachine stateMachine)
xxxx
- the state machine containing this transitionpublic boolean isSelfTransition()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |