Package wt.federation
Class InfoEngineTranslationTable
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.fc._Item
wt.fc.Item
wt.federation._InfoEngineTranslationTable
wt.federation.InfoEngineTranslationTable
- All Implemented Interfaces:
Externalizable,Serializable,wt.access._AccessControlled,wt.access._PolicyAccessControlled,wt.access._SecurityLabeled,AccessControlled,wt.access.PolicyAccessControlled,SecurityLabeled,wt.admin._DomainAdministered,DomainAdministered,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.adminlock._AdministrativelyLockable,AdministrativelyLockable,NetFactor,ObjectMappable,Persistable,DisplayIdentification
@GenAsPersistable(superClass=Item.class,versions=5778958762521577236L,properties={@GeneratedProperty(name="translationTable",type=java.util.Hashtable.class,columnProperties=@ColumnProperties(columnType=BLOB)),@GeneratedProperty(name="classGroupTable",type=java.util.Hashtable.class,columnProperties=@ColumnProperties(columnType=BLOB)),@GeneratedProperty(name="classTemplateTable",type=java.util.Hashtable.class,columnProperties=@ColumnProperties(columnType=BLOB)),@GeneratedProperty(name="idTemplateTable",type=java.util.Hashtable.class,columnProperties=@ColumnProperties(columnType=BLOB)),@GeneratedProperty(name="tableName",type=java.lang.String.class),@GeneratedProperty(name="tableType",type=java.lang.String.class)})
public class InfoEngineTranslationTable
extends wt.federation._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
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongenerateObjectId(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.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.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.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.getIdTemplate(String key) Return the template associated with the specified key.protected voidSupports initialization, following construction of an instance.protected voidinitialize(String name, String type) Supports initialization, following construction of an instance.static InfoEngineTranslationTableConstructor returning an instance initialized with default property values.static InfoEngineTranslationTablenewInfoEngineTranslationTable(String name, String type) Constructor returning an instance initialized with a specified name and type.voidsetClassAndGroup(Class javaClass, String groupName) Set the Java class associated with a specified Info*Engine group name, and vice versa.voidsetIdTemplate(Class javaClass, String template) Establish the template that will be used to generate unique identifiers for remote objects mapped to the specified Java class.voidsetIdTemplate(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.voidsetIdTemplate(String key, String template) Establish the template that will be used to generate unique identifiers associated with the specified key.voidsetSourceURLTemplate(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
-
Method Details
-
newInfoEngineTranslationTable
public static InfoEngineTranslationTable newInfoEngineTranslationTable() throws FederationServicesException, WTExceptionConstructor returning an instance initialized with default property values.
Supported API: true- Returns:
- InfoEngineTranslationTable
- Throws:
FederationServicesExceptionWTException
-
newInfoEngineTranslationTable
public static InfoEngineTranslationTable newInfoEngineTranslationTable(String name, String type) throws FederationServicesException Constructor returning an instance initialized with a specified name and type.
Supported API: true- Parameters:
name-type-- Returns:
- InfoEngineTranslationTable
- Throws:
FederationServicesException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
name-type-- Throws:
FederationServicesException
-
setClassAndGroup
Set the Java class associated with a specified Info*Engine group name, and vice versa.
Supported API: true- Parameters:
javaClass-groupName-
-
getIdTemplate
Return the template associated with the specified key.
Supported API: true- Parameters:
key-- Returns:
- String
-
setIdTemplate
Establish the template that will be used to generate unique identifiers associated with the specified key.
Supported API: true- Parameters:
key-template-
-
setIdTemplate
Establish the template that will be used to generate unique identifiers for remote objects mapped to the specified Java class.
Supported API: true- Parameters:
javaClass-template-
-
setIdTemplate
public 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.
Supported API: true- Parameters:
linkClass-roleAName-roleATemplate-roleBName-roleBTemplate-
-
setSourceURLTemplate
Establish the template that will be used to generate source URL's for remote objects mapped to the specified Java class.
Supported API: true- Parameters:
javaClass-template-
-
generateObjectId
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.
Supported API: true- Parameters:
javaClass-attributeTable-arguments-- Returns:
- String
-
generateObjectId
public 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.
Supported API: true- Parameters:
linkClass-role-attributeTable-arguments-- Returns:
- String
-
generateObjectId
Generate a unique identifier for a remote object given a generic key and a set of name/value substitutions.
Supported API: true- Parameters:
key-attributeTable-arguments-- Returns:
- String
-
generateSourceURL
Generate a source URL for a remote object given the Java class to which it is mapped and a set of name/value substitutions.
Supported API: true- Parameters:
javaClass-attributeTable-arguments-- Returns:
- String
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Overrides:
initializein classItem- Throws:
FederationServicesException
-