org.argouml.model.uml
Class RefBaseObjectProxy
java.lang.Object
|
+--org.argouml.model.uml.RefBaseObjectProxy
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler
- Direct Known Subclasses:
- RefPackageProxy
- public class RefBaseObjectProxy
- extends java.lang.Object
- implements java.lang.reflect.InvocationHandler
Field Summary |
private static Logger |
_cat
|
private java.lang.Object |
_realObject
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_cat
private static final Logger _cat
_realObject
private java.lang.Object _realObject
RefBaseObjectProxy
public RefBaseObjectProxy(java.lang.Object obj)
- Parameters:
obj
- The object to proxy
getProxiedObject
public static java.lang.Object getProxiedObject(RefBaseObjectProxy o)
- Returns the actual object which was proxied.
- Parameters:
o
- proxied object to extract from
- Returns:
- the realObject behind the proxy
newInstance
public static java.lang.Object newInstance(java.lang.Object obj)
- Creates a new instance of the proxied object.
- Parameters:
obj
- to proxy
- Returns:
- a proxy object if obj does not already implement the interface.
invoke
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
- Specified by:
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Throwable
- See Also:
InvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
refMetaObject
public RefObject refMetaObject()
- See Also:
javax.jmi.reflect.RefBaseObject#refMetaObject()
refImmediatePackage
public RefPackage refImmediatePackage()
- See Also:
javax.jmi.reflect.RefBaseObject#refImmediatePackage()
refOutermostPackage
public RefPackage refOutermostPackage()
- See Also:
javax.jmi.reflect.RefBaseObject#refOutermostPackage()
refMofId
public java.lang.String refMofId()
- See Also:
javax.jmi.reflect.RefBaseObject#refMofId()
refVerifyConstraints
public java.util.Collection refVerifyConstraints(boolean arg0)
- See Also:
javax.jmi.reflect.RefBaseObject#refVerifyConstraints(boolean)
getRealObject
protected java.lang.Object getRealObject()
- Returns:
- the proxied object