Package jadex.rules.eca
Class EventType
- java.lang.Object
-
- jadex.rules.eca.EventType
-
public class EventType extends java.lang.Object
Event type that consists of concatenated strings.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Test if equals to another object.java.lang.String
getType(int i)
Get the type.java.lang.String
getTypename()
Get the typename.java.lang.String[]
getTypes()
Get the types.int
hashCode()
Get the hashcode.void
setTypename(java.lang.String typename)
Set the typename.void
setTypes(java.lang.String[] types)
Set the types.java.lang.String
toString()
Get the string representation.
-
-
-
Field Detail
-
MATCHALL
public static final java.lang.String MATCHALL
- See Also:
- Constant Field Values
-
types
protected java.lang.String[] types
The event type elements.
-
typename
protected java.lang.String typename
The full name.
-
-
Method Detail
-
getTypes
public java.lang.String[] getTypes()
Get the types.- Returns:
- The types.
-
getType
public java.lang.String getType(int i)
Get the type.- Returns:
- The type.
-
getTypename
public java.lang.String getTypename()
Get the typename. return The typename.
-
setTypename
public void setTypename(java.lang.String typename)
Set the typename.- Parameters:
typename
- The typename to set.
-
setTypes
public void setTypes(java.lang.String[] types)
Set the types.- Parameters:
types
- The types to set.
-
hashCode
public int hashCode()
Get the hashcode.- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Test if equals to another object.- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
Get the string representation.- Overrides:
toString
in classjava.lang.Object
-
-