Package com.ibm.di.config.interfaces
Class GlobalRef
- java.lang.Object
-
- com.ibm.di.config.interfaces.GlobalRef
-
- All Implemented Interfaces:
java.io.Serializable
public class GlobalRef extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GlobalRef(BaseConfiguration config)GlobalRef(BaseConfiguration config, boolean ignoreMC)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetamergeConfiggetMetamergeConfig()java.lang.ObjectgetObject()Returns the object this refers to Since a GlobalRef is serialized/deserialized, it may not be the same object that was originally used.java.lang.ObjectgetObject(BaseConfiguration destination)Returns the object this refers to, in the local context if possible.java.lang.StringgetURL()java.lang.StringtoString()
-
-
-
Constructor Detail
-
GlobalRef
public GlobalRef(BaseConfiguration config)
-
GlobalRef
public GlobalRef(BaseConfiguration config, boolean ignoreMC)
-
-
Method Detail
-
getObject
public java.lang.Object getObject() throws java.lang.ExceptionReturns the object this refers to Since a GlobalRef is serialized/deserialized, it may not be the same object that was originally used.- Throws:
java.lang.Exception
-
getObject
public java.lang.Object getObject(BaseConfiguration destination) throws java.lang.Exception
Returns the object this refers to, in the local context if possible. Since a GlobalRef is serialized/deserialized, it may not be the same object that was originally used.- Parameters:
destination- The local MetamergeConfig we should try to find the object in- Throws:
java.lang.Exception
-
getMetamergeConfig
public MetamergeConfig getMetamergeConfig() throws java.lang.Exception
- Throws:
java.lang.Exception
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getURL
public java.lang.String getURL()
-
-