Class DefaultPageTransitionDefinition
- java.lang.Object
-
- org.onehippo.forge.pageflow.core.def.impl.DefaultPageTransitionDefinition
-
- All Implemented Interfaces:
Serializable
,PageTransitionDefinition
public class DefaultPageTransitionDefinition extends Object implements PageTransitionDefinition
DefaultPageTransitionDefinition
model implementation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultPageTransitionDefinition(String event, String targetPageStateDefinitionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Compares the specified object with thisPageTransitionDefinition
for equality.String
getEvent()
Return the source event name causing this page transition.String
getTargetPageStateDefinitionId()
Return the targetPageStateDefinition
's ID.int
hashCode()
Returns the hash code value for thisPageTransitionDefinition
.String
toString()
-
-
-
Method Detail
-
getEvent
public String getEvent()
Description copied from interface:PageTransitionDefinition
Return the source event name causing this page transition.- Specified by:
getEvent
in interfacePageTransitionDefinition
- Returns:
- the source event name causing this page transition
-
getTargetPageStateDefinitionId
public String getTargetPageStateDefinitionId()
Description copied from interface:PageTransitionDefinition
Return the targetPageStateDefinition
's ID.- Specified by:
getTargetPageStateDefinitionId
in interfacePageTransitionDefinition
- Returns:
- the target
PageStateDefinition
's ID
-
equals
public boolean equals(Object o)
Description copied from interface:PageTransitionDefinition
Compares the specified object with thisPageTransitionDefinition
for equality.- Specified by:
equals
in interfacePageTransitionDefinition
- Overrides:
equals
in classObject
- Parameters:
o
- the object to be compared for equality with thisPageTransitionDefinition
- Returns:
- true if the specified object is equal to this
PageTransitionDefinition
-
hashCode
public int hashCode()
Description copied from interface:PageTransitionDefinition
Returns the hash code value for thisPageTransitionDefinition
.- Specified by:
hashCode
in interfacePageTransitionDefinition
- Overrides:
hashCode
in classObject
- Returns:
- the hash code value for this
PageTransitionDefinition
-
-