public class DynObjectFeatureFacade extends java.lang.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() |
java.lang.Object |
clone()
Creates a copy of the object.
|
void |
delegate(DynObject dynObject) |
DynClass |
getDynClass() |
java.lang.Object |
getDynValue(java.lang.String name) |
EditableFeature |
getEditableFeature() |
Feature |
getFeature() |
boolean |
hasDynValue(java.lang.String name) |
void |
implement(DynClass dynClass) |
java.lang.Object |
invokeDynMethod(int code,
java.lang.Object[] args) |
java.lang.Object |
invokeDynMethod(java.lang.String name,
java.lang.Object[] args) |
void |
setDynValue(java.lang.String name,
java.lang.Object value) |
void |
setFeature(Feature feature) |
java.lang.String |
toString() |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
cloneQuietly, cloneQuietly
public DynClass getDynClass()
getDynClass
in interface DynObject
public java.lang.Object getDynValue(java.lang.String name) throws DynFieldNotFoundException
getDynValue
in interface DynObject
DynFieldNotFoundException
public void setDynValue(java.lang.String name, java.lang.Object value) throws DynFieldNotFoundException
setDynValue
in interface DynObject
DynFieldNotFoundException
public boolean hasDynValue(java.lang.String name)
hasDynValue
in interface DynObject
public java.lang.Object invokeDynMethod(java.lang.String name, java.lang.Object[] args) throws DynMethodException
invokeDynMethod
in interface DynObject
DynMethodException
public java.lang.Object invokeDynMethod(int code, java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
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()}.