public class DynObjectFeatureFacade extends Object implements DynObject, Cloneable, FacadeOfAFeature
Constructor and Description |
---|
DynObjectFeatureFacade()
Empty constructor.
|
DynObjectFeatureFacade(Feature feature)
Creates a facade over a
Feature . |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Object |
clone()
Creates a copy of the object.
|
void |
delegate(DynObject dynObject) |
DynClass |
getDynClass() |
Object |
getDynValue(String name) |
EditableFeature |
getEditableFeature() |
Feature |
getFeature() |
boolean |
hasDynValue(String name) |
void |
implement(DynClass dynClass) |
Object |
invokeDynMethod(int code,
Object[] args) |
Object |
invokeDynMethod(String name,
Object[] args) |
void |
setDynValue(String name,
Object value) |
void |
setFeature(Feature feature) |
String |
toString() |
public DynClass getDynClass()
getDynClass
in interface DynObject
public Object getDynValue(String name) throws DynFieldNotFoundException
getDynValue
in interface DynObject
DynFieldNotFoundException
public void setDynValue(String name, Object value) throws DynFieldNotFoundException
setDynValue
in interface DynObject
DynFieldNotFoundException
public boolean hasDynValue(String name)
hasDynValue
in interface DynObject
public Object invokeDynMethod(String name, Object[] args) throws DynMethodException
invokeDynMethod
in interface DynObject
DynMethodException
public Object invokeDynMethod(int code, Object[] args) throws DynMethodException
invokeDynMethod
in interface DynObject
DynMethodException
public Feature getFeature()
getFeature
in interface FacadeOfAFeature
public void setFeature(Feature feature)
public EditableFeature getEditableFeature()
getEditableFeature
in interface FacadeOfAFeature
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()}.