public class Eventable extends org.jgrapht.graph.DefaultEdge implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Eventable.EventType
The event type.
|
| Constructor and Description |
|---|
Eventable()
Default constructor to support saving instances of this class as an XML.
|
Eventable(CandidateElement candidateElement,
Eventable.EventType eventType)
Create a new Eventable for a candidateElement and eventType.
|
Eventable(Identification identification,
Eventable.EventType eventType)
Create a new Eventable for a identification and eventType.
|
Eventable(Identification identification,
Eventable.EventType eventType,
String relatedFrame)
Create a new Eventable for a identification and eventType.
|
Eventable(Node node,
Eventable.EventType eventType)
Create a new Eventable for a node and eventType.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Return true if equal.
|
Element |
getElement() |
Eventable.EventType |
getEventType() |
long |
getId() |
Identification |
getIdentification() |
CopyOnWriteArrayList<FormInput> |
getRelatedFormInputs()
Retrieve the related form inputs.
|
String |
getRelatedFrame() |
StateVertex |
getSourceStateVertex() |
StateVertex |
getTargetStateVertex() |
int |
hashCode()
Returns a hashcode.
|
void |
setElement(Element element) |
void |
setEventType(Eventable.EventType eventType) |
void |
setId(long id) |
void |
setIdentification(Identification identification) |
void |
setRelatedFormInputs(CopyOnWriteArrayList<FormInput> relatedFormInputs)
Set the list of formInputs.
|
String |
toString() |
public Eventable()
public Eventable(Identification identification, Eventable.EventType eventType)
identification - the identification object.eventType - the event type.public Eventable(Identification identification, Eventable.EventType eventType, String relatedFrame)
identification - the identification object.eventType - the event.relatedFrame - the frame containing this element.public Eventable(Node node, Eventable.EventType eventType)
node - The DOM element.eventType - the event type.public Eventable(CandidateElement candidateElement, Eventable.EventType eventType)
candidateElement - The CandidateElement element.eventType - the event type. TODO ali removepublic String toString()
toString in class org.jgrapht.graph.DefaultEdgepublic int hashCode()
public boolean equals(Object obj)
public Eventable.EventType getEventType()
public long getId()
public void setId(long id)
id - the id to setpublic Identification getIdentification()
public void setIdentification(Identification identification)
identification - the identification to setpublic void setEventType(Eventable.EventType eventType)
eventType - the eventType to setpublic Element getElement()
public void setElement(Element element)
element - the element to setpublic CopyOnWriteArrayList<FormInput> getRelatedFormInputs()
public void setRelatedFormInputs(CopyOnWriteArrayList<FormInput> relatedFormInputs)
relatedFormInputs - the list of formInputspublic StateVertex getSourceStateVertex() throws CrawljaxException
CrawljaxException - if the source cannot be found.public StateVertex getTargetStateVertex() throws CrawljaxException
CrawljaxException - if the target cannot be found.public String getRelatedFrame()
Copyright © 2007-2013. All Rights Reserved.