public class ProcedureOptionGroup extends oracle.odi.domain.support.AbstractRepositoryEntity implements IProcedureOptionGroup
ProcedureOption
A ProcedureOptionGroup is used to categorize options in OdiProcedure
Constructor and Description |
---|
ProcedureOptionGroup(OdiProcedure procedure,
java.lang.String name)
Constructor .
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getAllOptions()
Returns a List of all the options associated with this group and the group with same name from Base ComponentKM.
|
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.String |
getName()
Returns the name of Procedure Option Group
|
java.util.List |
getOptions()
returns the options associated with the group in sorted order of position
|
int |
getPosition()
returns the position of the group
|
java.lang.Number |
getProcedureOptionGroupId()
Returns Id of ProcedureOptionGroup
|
void |
setName(java.lang.String groupName)
Sets the name of Procedure Option Group
|
public ProcedureOptionGroup(OdiProcedure procedure, java.lang.String name)
name
- procedure
- public java.lang.Number getProcedureOptionGroupId()
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()
public void setName(java.lang.String groupName)
groupName
- public java.util.List getOptions()
public java.util.List getAllOptions()
public int getPosition()