Class SourcePrimaryKeyFactory

java.lang.Object
com.orchestranetworks.addon.dml.SourcePrimaryKeyFactory

public final class SourcePrimaryKeyFactory extends Object
Provides the methods to get a SourcePrimaryKey.
Since:
2.6.2
  • Method Details

    • getInstance

      public static SourcePrimaryKeyFactory getInstance()
      Returns an instance of SourcePrimaryKeyFactory.
    • getSourcePrimarykey

      public SourcePrimaryKey getSourcePrimarykey(com.orchestranetworks.instance.Repository repository, String dataModelName) throws DataModelException
      Creates an instance of SourcePrimaryKey with a specific data model name declared in the Data model table in the Dynamic data modeling dataset.
      Parameters:
      repository - the current repository
      dataModelName - 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.