|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.fc.WTObject
wt.fc.Item
wt.federation.InfoEngineTranslationTable
public class InfoEngineTranslationTable
Generate a unique identifier for a remote object given a key and a set of name/value substitutions.
Use the newInfoEngineTranslationTable static factory method(s),
not the InfoEngineTranslationTable constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
String |
generateObjectId(Class javaClass,
Hashtable attributeTable,
Hashtable arguments)
Generate a unique identifier for a remote object given the Java class to which it is being mapped and a set of name/value substitutions. |
String |
generateObjectId(Class linkClass,
String role,
Hashtable attributeTable,
Hashtable arguments)
Generate a unique identifier for a remote object given a link class that references it, the role that it plays in the association defined by the link class, and a set of name/value substitutions. |
String |
generateObjectId(String key,
Hashtable attributeTable,
Hashtable arguments)
Generate a unique identifier for a remote object given a generic key and a set of name/value substitutions. |
String |
generateSourceURL(Class javaClass,
Hashtable attributeTable,
Hashtable arguments)
Generate a source URL for a remote object given the Java class to which it is mapped and a set of name/value substitutions. |
String |
getIdTemplate(String key)
Return the template associated with the specified key. |
protected void |
initialize()
Supports initialization, following construction of an instance. |
protected void |
initialize(String name,
String type)
Supports initialization, following construction of an instance. |
static InfoEngineTranslationTable |
newInfoEngineTranslationTable()
Constructor returning an instance initialized with default property values. |
static InfoEngineTranslationTable |
newInfoEngineTranslationTable(String name,
String type)
Constructor returning an instance initialized with a specified name and type. |
void |
setClassAndGroup(Class javaClass,
String groupName)
Set the Java class associated with a specified Info*Engine group name, and vice versa. |
void |
setIdTemplate(Class javaClass,
String template)
Establish the template that will be used to generate unique identifiers for remote objects mapped to the specified Java class. |
void |
setIdTemplate(Class linkClass,
String roleAName,
String roleATemplate,
String roleBName,
String roleBTemplate)
Establish the templates that will be used to generate unique identifiers for remote objects associated by a specified link class. |
void |
setIdTemplate(String key,
String template)
Establish the template that will be used to generate unique identifiers associated with the specified key. |
void |
setSourceURLTemplate(Class javaClass,
String template)
Establish the template that will be used to generate source URL's for remote objects mapped to the specified Java class. |
| Methods inherited from class wt.fc.WTObject |
|---|
getDisplayIdentifier, getDisplayIdentity, getDisplayType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static InfoEngineTranslationTable newInfoEngineTranslationTable()
throws wt.federation.FederationServicesException
wt.federation.FederationServicesException
public static InfoEngineTranslationTable newInfoEngineTranslationTable(String name,
String type)
throws wt.federation.FederationServicesException
name - type -
wt.federation.FederationServicesException
protected void initialize(String name,
String type)
throws wt.federation.FederationServicesException
name - type -
wt.federation.FederationServicesException
public void setClassAndGroup(Class javaClass,
String groupName)
javaClass - groupName - public String getIdTemplate(String key)
key -
public void setIdTemplate(String key,
String template)
key - template -
public void setIdTemplate(Class javaClass,
String template)
javaClass - template -
public void setIdTemplate(Class linkClass,
String roleAName,
String roleATemplate,
String roleBName,
String roleBTemplate)
linkClass - roleAName - roleATemplate - roleBName - roleBTemplate -
public void setSourceURLTemplate(Class javaClass,
String template)
javaClass - template -
public String generateObjectId(Class javaClass,
Hashtable attributeTable,
Hashtable arguments)
javaClass - attributeTable - arguments -
public String generateObjectId(Class linkClass,
String role,
Hashtable attributeTable,
Hashtable arguments)
linkClass - role - attributeTable - arguments -
public String generateObjectId(String key,
Hashtable attributeTable,
Hashtable arguments)
key - attributeTable - arguments -
public String generateSourceURL(Class javaClass,
Hashtable attributeTable,
Hashtable arguments)
javaClass - attributeTable - arguments -
protected void initialize()
throws wt.federation.FederationServicesException
wt.federation.FederationServicesException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||