public abstract class AbstractDynMethod extends java.lang.Object implements DynMethod
Modifier | Constructor and Description |
---|---|
protected |
AbstractDynMethod(java.lang.String name) |
protected |
AbstractDynMethod(java.lang.String name,
java.lang.String description) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a copy of the object.
|
int |
getCode() |
java.lang.String |
getDescription() |
java.lang.String |
getName() |
void |
setCode(int code) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cloneQuietly, cloneQuietly
protected AbstractDynMethod(java.lang.String name, java.lang.String description)
protected AbstractDynMethod(java.lang.String name)
public java.lang.String getDescription()
getDescription
in interface DynMethod
public void setCode(int code)
public int getCode() throws DynMethodNotSupportedException
getCode
in interface DynMethod
DynMethodNotSupportedException
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
Cloneable
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if the instance of the object cannot
be cloned. As this is extending Cloneable
so its sure
it implements it, so this exception may be used for problems on specific
object instances.Object#clone()}.