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, waitcloneQuietly, cloneQuietlyprotected AbstractDynMethod(java.lang.String name,
java.lang.String description)
protected AbstractDynMethod(java.lang.String name)
public java.lang.String getDescription()
getDescription in interface DynMethodpublic void setCode(int code)
public int getCode()
throws DynMethodNotSupportedException
getCode in interface DynMethodDynMethodNotSupportedExceptionpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Cloneableclone in class java.lang.Objectjava.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()}.