public final class SourcePrimaryKeyFactory extends Object
SourcePrimaryKey
.Modifier and Type | Method and Description |
---|---|
static SourcePrimaryKeyFactory |
getInstance()
Returns an instance of
SourcePrimaryKeyFactory . |
SourcePrimaryKey |
getSourcePrimarykey(com.orchestranetworks.instance.Repository repository,
String dataModelName)
Creates an instance of
SourcePrimaryKey with a specific data model name declared in the Data model table in the Dynamic data modeling dataset. |
public static SourcePrimaryKeyFactory getInstance()
SourcePrimaryKeyFactory
.public SourcePrimaryKey getSourcePrimarykey(com.orchestranetworks.instance.Repository repository, String dataModelName) throws DataModelException
SourcePrimaryKey
with a specific data model name declared in the Data model table in the Dynamic data modeling dataset.repository
- the current repositorydataModelName
- the data model name declared in the Data model table in the Dynamic data modeling dataset.DataModelException
- when there is no data model with a specific name or more than one data model with a specified name.