public class JPOName
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
| Constructor and Description |
|---|
JPOName(JPOName other)
Create a copy of another
JPOName instance. |
JPOName(java.lang.String name) |
JPOName(java.lang.String name,
java.lang.String method) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
static JPOName |
create(java.lang.String name,
java.lang.String method) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getMethod() |
java.lang.String |
getName() |
int |
hashCode() |
void |
setMethod(java.lang.String method) |
void |
setName(java.lang.String name) |
java.lang.String |
toString() |
public JPOName(java.lang.String name)
name - The name of the JPO and the method as a single string. The
name of the JPO and the method is separated by a colon (:). E.g.,
TheJPO:theMethodpublic JPOName(java.lang.String name,
java.lang.String method)
name - The name of the JPO.method - The name of the method.public static JPOName create(java.lang.String name, java.lang.String method)
name - The name of the JPOmethod - The method of the JPOJPOName instance.public java.lang.String getName()
public void setName(java.lang.String name)
name - The name of the JPO and the method, separated by a colon (:).
If the argument doesn't contain a colon the method will be set to
null.public java.lang.String getMethod()
public void setMethod(java.lang.String method)
method - The name of the method to invoke.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Object clone()
clone in class java.lang.ObjectCopyright ? Technia AB. All Rights Reserved.