public final class OdiMasterRepositoryInfo extends AbstractOdiEntity implements IMasterOdiEntity
This is a particular entity whose life cycle begins when an ODI master repository is created from repository setup / install process and ends when ODI master repository schema is destroyed by DB administrator.
An ODI Master Repository has an ID that can be obtained from
getMasterRepositoryId()
method call. That ID is used when
computing ID of objects that are stored inside a master repository. It must
be unique across several ODI configurations.
Note that an OdiMasterRepositoryInfo
cannot be removed from
repository. Also, ODI must have one and only one master repository.
This is a read-only class and should not be used to update ODI Master Repository metadata.
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getCreationTime()
Returns time of repository's creation in millisecond.
|
java.lang.String |
getGlobalIdUpgradeKey() |
java.io.Serializable |
getInternalId()
Provides a common getter for the persistence layer to obtain an identity,
irrespective of the actual type of identity used.
|
java.lang.Number |
getMasterRepositoryId()
Returns the unique ID of the master repository.
|
java.lang.String |
getName()
Returns the name of the ODI master repository.
|
IRepositoryEntity |
getSecurityContainer() |
java.lang.String |
getVcsBranchName()
Returns the VCS branch name, configured with ODI
|
java.lang.String |
getVcsName()
Returns the VCS name configured with the ODI repository
|
java.lang.String |
getVcsProjectName()
Returns the VCS project name, thats configured with ODI.
|
java.lang.String |
getVcsRepositoryName()
Returns the VCS repository name, configured with ODI.
|
java.lang.String |
getVcsRootPath()
Returns the VCS root path, thats configured with ODI.
|
java.lang.String |
getVersion()
Returns string representation of the ODI master repository's version.
|
boolean |
isLegacyIDCompatible() |
boolean |
isSyncStatus()
Returns the status of sync operation, if being performed on ODI repository.
|
boolean |
isVcsAutoVersioningEnabled()
Returns the status of the auto-version flag for VCS.
|
boolean |
isVcsEnabled()
Returns true if VCS is configured with ODI.
|
boolean |
isVcsSharedBranch()
Returns true if ODI Repository is configured to shared branch
|
void |
setGlobalIdUpgradeKey(java.lang.String pGlobalIdUpgradeKey)
Deprecated.
Class is Read-only
|
void |
switchOffLegacyIDCompatibleMode()
Deprecated.
Class is Read-only
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFirstDate, getFirstUser, getLastDate, getLastUser, isInstanceLevelSecurityNeeded
getGlobalId, getParent
public java.lang.String getVcsProjectName()
public java.lang.String getVcsRootPath()
public boolean isSyncStatus()
public boolean isVcsEnabled()
public java.lang.String getVcsBranchName()
public java.lang.String getVcsRepositoryName()
public boolean isVcsAutoVersioningEnabled()
public boolean isVcsSharedBranch()
public java.lang.Number getMasterRepositoryId()
public java.io.Serializable getInternalId()
IRepositoryEntity
Typically a subclass will delegate to a public
SomePrimitiveWrapper getId()
method. The necessity for the
getInternalId()
abstract method is solely because the
persistence layer needs a way of obtaining the identity irrespective of
the actual identity implementation choice.
Returning null
from this method will indicate the object has
never been saved. This will likely be relied on by some DAO
implementations.
getInternalId
in interface IRepositoryEntity
public java.lang.String getName()
getName
in interface IOdiEntity
public java.lang.String getVersion()
public IRepositoryEntity getSecurityContainer()
getSecurityContainer
in interface IRepositoryEntity
public java.lang.Long getCreationTime()
public java.lang.String getGlobalIdUpgradeKey()
public void setGlobalIdUpgradeKey(java.lang.String pGlobalIdUpgradeKey)
public boolean isLegacyIDCompatible()
public void switchOffLegacyIDCompatibleMode()
public java.lang.String getVcsName()