Package jadex.rules.eca
Class EventType
- java.lang.Object
-
- jadex.rules.eca.EventType
-
public class EventType extends java.lang.ObjectEvent type that consists of concatenated strings.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Test if equals to another object.java.lang.StringgetType(int i)Get the type.java.lang.StringgetTypename()Get the typename.java.lang.String[]getTypes()Get the types.inthashCode()Get the hashcode.voidsetTypename(java.lang.String typename)Set the typename.voidsetTypes(java.lang.String[] types)Set the types.java.lang.StringtoString()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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Test if equals to another object.- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
Get the string representation.- Overrides:
toStringin classjava.lang.Object
-
-