Class DocIdentifier
An instance of this class holds the name, number and model name to be set on an EPMDocument to be created during
upload from an authoring application and are validated by an instance of EPMDocumentNamingDelegate. It may
also optionally hold parameters which may be validated by the same instance of EPMDocumentNamingDelegate but
are not used anywhere else.
Note that the instance of EPMDocumentNamingDelegate which is used to validate the contents of an instance of
this class can also optionally set new name and number for the EPMDocument. These will be assigned to the new
EPMDocument. While it is possible that the EPMDocumentNamingDelegate instance may also validate the optional
parameters held by the instance of this class and delete/update them or create new ones, they are currently not being
used anywhere during EPMDocument creation.
Supported API: true
Extendable: false
-
Constructor Summary
ConstructorsConstructorDescriptionDocIdentifier(String modelName, String docName, String docNumber, HashMap params) Initializes an instance of this class from the input arguments. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the EPMDocument to be created.Returns the number of the EPMDocument to be created.Returns the model name of the EPMDocument to be created.Returns the parameters to be used during the creation of an EPMDocument.voidsetDocName(String docname) Sets the name of the EPMDocument to be created.voidsetDocNumber(String docnumber) Sets the number of the EPMDocument to be created.voidsetParameters(HashMap params) Stores the parameters to be used during the creation of an EPMDocument.
-
Constructor Details
-
DocIdentifier
Initializes an instance of this class from the input arguments.
Supported API: true- Parameters:
modelName- Model name of the EPMDocument to be createddocName- Name of the EPMDocument to be createddocNumber- Number of the EPMDocument to be createdparams- A HashMap holding parameters (currently not used during EPMDocument creation)
-
-
Method Details
-
getModelName
Returns the model name of the EPMDocument to be created.
Supported API: true- Returns:
- Model name of the EPMDocument to be created
-
getDocName
Returns the name of the EPMDocument to be created.
Supported API: true- Returns:
- Name of the EPMDocument to be created
-
setDocName
Sets the name of the EPMDocument to be created. A custom implementation ofEPMDocumentNamingDelegatemay use this method to create a new name (different from the one passed to the constructor of this class) for the EPMDocument.
Supported API: true- Parameters:
docName- Name of the EPMDocument to be created
-
setDocNumber
Sets the number of the EPMDocument to be created. A custom implementation ofEPMDocumentNamingDelegatemay use this method to create a new number (different from the one passed to the constructor of this class) for the EPMDocument.
Supported API: true- Parameters:
docNumber- Number of the EPMDocument to be created
-
getDocNumber
Returns the number of the EPMDocument to be created.
Supported API: true- Returns:
- Number of the EPMDocument to be created
-
getParameters
Returns the parameters to be used during the creation of an EPMDocument. Note that currently these are not used anywhere during new EPMDocument creation.
Supported API: true- Returns:
- A HashMap holding the parameters to be used during the creation of an EPMDocument
-
setParameters
Stores the parameters to be used during the creation of an EPMDocument. A custom implementation ofEPMDocumentNamingDelegatemay use this method to update/delete/create parameters with values or even names different from the ones in the HashMap passed to the constructor of this class. However, currently these are not used anywhere during new EPMDocument creation.
Supported API: true- Parameters:
params- A HashMap holding the parameters to be used during the creation of an EPMDocument
-