Package com.orchestranetworks.addon.dml
Class SourcePrimaryKeyFactory
java.lang.Object
com.orchestranetworks.addon.dml.SourcePrimaryKeyFactory
Provides the methods to get a
SourcePrimaryKey
.- Since:
- 2.6.2
-
Method Summary
Modifier and TypeMethodDescriptionstatic SourcePrimaryKeyFactory
Returns an instance ofSourcePrimaryKeyFactory
.getSourcePrimarykey
(com.orchestranetworks.instance.Repository repository, String dataModelName) Creates an instance ofSourcePrimaryKey
with a specific data model name declared in the Data model table in the Dynamic data modeling dataset.
-
Method Details
-
getInstance
Returns an instance ofSourcePrimaryKeyFactory
. -
getSourcePrimarykey
public SourcePrimaryKey getSourcePrimarykey(com.orchestranetworks.instance.Repository repository, String dataModelName) throws DataModelException Creates an instance ofSourcePrimaryKey
with a specific data model name declared in the Data model table in the Dynamic data modeling dataset.- Parameters:
repository
- the current repositorydataModelName
- the data model name declared in the Data model table in the Dynamic data modeling dataset.- Throws:
DataModelException
- when there is no data model with a specific name or more than one data model with a specified name.
-