public final class EventTypeID extends ComponentID
EventTypeID class encapsulates event type component identity.
An EventTypeID object is also known as an event type identifier.| Constructor and Description |
|---|
EventTypeID(String name,
String vendor,
String version)
Create a new event type component identifier.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Create a copy of this event type component identifier.
|
int |
compareTo(Object obj)
Compare this component identifier with the specified object for order.
|
protected String |
getClassName()
Get the class name of this component identifier.
|
compareTo, equals, getName, getVendor, getVersion, hashCode, toStringpublic EventTypeID(String name, String vendor, String version)
name - the name of the event type component.vendor - the vendor of the event type component.version - the version of the event type component.NullPointerException - if any argument is null.public final int compareTo(Object obj)
ComponentIDComponent ordering is determined by comparing the component identifier attributes in the following order:
ComponentID may
be safely compared without causing a ClassCastException)
compareTo in interface ComparablecompareTo in class ComponentIDobj - the object to compare this with.Comparable.compareTo(Object)public Object clone()
clone in class ObjectObject.clone()protected String getClassName()
ComponentIDgetClass().getName().getClassName in class ComponentID