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, waitcloneQuietly, cloneQuietlypublic DynClass getDynClass()
getDynClass in interface DynObjectpublic java.lang.Object getDynValue(java.lang.String name)
throws DynFieldNotFoundException
getDynValue in interface DynObjectDynFieldNotFoundExceptionpublic void setDynValue(java.lang.String name,
java.lang.Object value)
throws DynFieldNotFoundException
setDynValue in interface DynObjectDynFieldNotFoundExceptionpublic boolean hasDynValue(java.lang.String name)
hasDynValue in interface DynObjectpublic java.lang.Object invokeDynMethod(java.lang.String name,
java.lang.Object[] args)
throws DynMethodException
invokeDynMethod in interface DynObjectDynMethodExceptionpublic java.lang.Object invokeDynMethod(int code,
java.lang.Object[] args)
throws DynMethodException
invokeDynMethod in interface DynObjectDynMethodExceptionpublic Feature getFeature()
getFeature in interface FacadeOfAFeaturepublic void setFeature(Feature feature)
public EditableFeature getEditableFeature()
getEditableFeature in interface FacadeOfAFeaturepublic java.lang.String toString()
toString in class java.lang.Objectpublic 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()}.