public class OdiMarkerGroup extends oracle.odi.domain.support.AbstractOdiEntity implements oracle.odi.domain.impexp.IExportable, IWorkDevelopmentOdiEntity, oracle.odi.impexp.smartie.ISmartExportable
OdiMarkerGroup class is the root entity and implements IOdiEntity
interface.
An OdiMarkerGroup has an ID
that can be obtained from getMarkerGroupId() method call. This ID is assigned
when an OdiMarkerGroup is stored in design time repository. This ID represents
the identity of an OdiMarkerGroup. Equals / hashCode method are implemented
according this identity.
There is two distinct scopes of OdiMarkerGroup: Global and Project.
Life cycle of an OdiMarkerGroup begins at design time when it is created from
constructor (Global Scope), from enclosing OdiProject
(Project Scope), or
when imported from external XML file. It is then typically stored inside ODI
design time repository. The users can modify it in order to make it fit their
needs. Life cycle ends when a user remove OdiMarkerGroup instance from design
time repository, or if enclosing OdiProject is removed (Project Scope). An
OdiMarkerGroup can be exported and imported. It implements the interface
IExportable
.
IOdiMarkerGroupFinder
.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode()
Obtains the code of this marker group in ODI.
|
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 |
getMarkerGroupId()
Returns the ID of this marker group.
|
java.util.Collection |
getMarkerTypes() |
java.lang.String |
getName()
Obtains the name of this marker group in ODI.
|
OdiProject |
getProject()
Returns the
OdiProject instance for Project-Level marker group. |
IRepositoryEntity |
getSecurityContainer()
Define a generic way to retrieve container for entities.
|
boolean |
isGlobal()
Returns whether this OdiMarkerGroup is global, or not
|
boolean |
isInstanceLevelSecurityNeeded()
Internal: this method is for internal purpose and must not be considered
as part of the public API.
|
equals, getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, hashCode, isNew, toString
getGlobalId, getNumericId, hasCustomizedPersistenceMethodFor, invokeCustomizedPersistenceMethodFor
getFirstDate, getFirstUser, getLastDate, getLastUser
getGlobalId
public OdiProject getProject()
OdiProject
instance for Project-Level marker group.null
if this marker group is Globalpublic java.lang.Number getMarkerGroupId()
public boolean isGlobal()
true
if the scope of marker group is Global, false
otherwise
(i.e. Project Scope)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 IRepositoryEntity getSecurityContainer()
IRepositoryEntity
getSecurityContainer
in interface IRepositoryEntity
public boolean isInstanceLevelSecurityNeeded()
IOdiEntity
Defines a method to capture the info on which object needs instance level privilege.
isInstanceLevelSecurityNeeded
in interface IOdiEntity
isInstanceLevelSecurityNeeded
in class oracle.odi.domain.support.AbstractOdiEntity
true
if instance level security needed,
false
otherwisepublic java.lang.String getCode()
public java.lang.String getName()
getName
in interface IOdiEntity
getName
in class oracle.odi.domain.support.AbstractOdiEntity
public java.util.Collection getMarkerTypes()