|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IdentifierFactory
This factory defines the pattern for constructing Identifiers. It will
process arbitrary lists of Identifiers -- doesn't matter if it's a TypeIdentifier,
AttributeIdentifier, etc.
A default implementation of the IdentifierFactory interface provides
a simple method for clients to construct Definition, Element, and Instance
Identifiers from external form. Methods with and without context (context
is for Attributes) are available, and both single and bulk mode transformations
are supported.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
Identifier |
get(String identifier_external_form)
From the identifier_external_form, we will construct an Identifier. |
Identifier[] |
get(String[] identifier_external_forms)
Bulk mode of the get(String) method. |
Identifier[] |
get(String[] identifier_external_forms,
Identifier identifier_context)
Bulk mode of the get(String, TypeIdentifier) method. |
Identifier[] |
get(String[] identifier_external_forms,
String identifier_context_external_form)
Bulk mode of the get(String, String) method. |
Identifier |
get(String identifier_external_form,
Identifier identifier_context)
Construct a DefinitionIdentifier based on the external form and the context(TypeIdentifier). |
Identifier |
get(String identifier_external_form,
String identifier_context_external_form)
Construct an Identifier based on the combined string from the external form and the context external form. |
InstanceIdentifier |
newNamedInstanceIdentifier(String the_name,
TypeInstanceIdentifier container)
Supported API: true |
InstanceIdentifier |
newPathInstanceIdentifier(String the_path,
TypeInstanceIdentifier container)
Supported API: true |
InstanceIdentifier |
newUninitializedInstanceIdentifier(TypeInstanceIdentifier container)
Supported API: true |
TypeIdentifier |
newWCTypeIdentifier(String type_name)
Supported API: true |
TypeInstanceIdentifier |
newWCTypeInstanceIdentifier(String type_name,
int update_count,
long object_id)
Supported API: true |
TypeInstanceIdentifier |
newWCTypeInstanceIdentifier(String type_name,
int update_count,
long object_id,
long branch_id)
Supported API: true |
| Method Detail |
|---|
Identifier get(String identifier_external_form)
throws IllegalFormatException
identifier_external_form -
IllegalFormatException
Identifier get(String identifier_external_form,
String identifier_context_external_form)
throws IllegalFormatException
identifier_external_form - identifier_context_external_form -
IllegalFormatException
Identifier get(String identifier_external_form,
Identifier identifier_context)
throws IllegalFormatException
identifier_external_form - identifier_context -
IllegalFormatException
Identifier[] get(String[] identifier_external_forms)
throws IllegalFormatException
identifier_external_forms -
IllegalFormatException
Identifier[] get(String[] identifier_external_forms,
String identifier_context_external_form)
throws IllegalFormatException
identifier_external_forms - identifier_context_external_form -
IllegalFormatException
Identifier[] get(String[] identifier_external_forms,
Identifier identifier_context)
throws IllegalFormatException
identifier_external_forms - identifier_context -
IllegalFormatExceptionTypeIdentifier newWCTypeIdentifier(String type_name)
type_name -
TypeInstanceIdentifier newWCTypeInstanceIdentifier(String type_name,
int update_count,
long object_id)
type_name - update_count - object_id -
TypeInstanceIdentifier newWCTypeInstanceIdentifier(String type_name,
int update_count,
long object_id,
long branch_id)
type_name - update_count - object_id - branch_id -
InstanceIdentifier newUninitializedInstanceIdentifier(TypeInstanceIdentifier container)
container -
InstanceIdentifier newNamedInstanceIdentifier(String the_name,
TypeInstanceIdentifier container)
the_name - container -
InstanceIdentifier newPathInstanceIdentifier(String the_path,
TypeInstanceIdentifier container)
the_path - container -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||