public abstract class AbstractDynMethod extends Object implements DynMethod
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDynMethod(String name) |
protected |
AbstractDynMethod(String name,
String description) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a copy of the object.
|
int |
getCode() |
String |
getDescription() |
String |
getName() |
void |
setCode(int code) |
protected AbstractDynMethod(String name)
public String getDescription()
getDescription in interface DynMethodpublic void setCode(int code)
public int getCode()
throws DynMethodNotSupportedException
getCode in interface DynMethodDynMethodNotSupportedExceptionpublic Object clone() throws CloneNotSupportedException
Cloneableclone in class ObjectCloneNotSupportedException - 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()}.