Package com.orchestranetworks.addon.dml
Class SourcePrimaryKeyFactory
- java.lang.Object
-
- com.orchestranetworks.addon.dml.SourcePrimaryKeyFactory
-
public final class SourcePrimaryKeyFactory extends java.lang.Object
Provides the methods to get aSourcePrimaryKey
.- Since:
- 2.6.2
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SourcePrimaryKeyFactory
getInstance()
Returns an instance ofSourcePrimaryKeyFactory
.SourcePrimaryKey
getSourcePrimarykey(com.orchestranetworks.instance.Repository repository, java.lang.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 Detail
-
getInstance
public static SourcePrimaryKeyFactory getInstance()
Returns an instance ofSourcePrimaryKeyFactory
.
-
getSourcePrimarykey
public SourcePrimaryKey getSourcePrimarykey(com.orchestranetworks.instance.Repository repository, java.lang.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.
-
-