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 DynMethod
public void setCode(int code)
public int getCode() throws DynMethodNotSupportedException
getCode
in interface DynMethod
DynMethodNotSupportedException
public Object clone() throws CloneNotSupportedException
Cloneable
clone
in class Object
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()}.