|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softwareag.mdm.instance.DefinitionMode
Defines the possible modes that an occurrence may have regarding its inheritance.
Field Summary | |
static DefinitionMode |
DEFINE_DERIVE
The occurrence is in deriving mode when it is defined in the current container instance and it has a parent occurrence that has a different primary key. |
static DefinitionMode |
DEFINE_OCCULT
The occurrence is in occulting mode when it "removes its primary key" from the current table. |
static DefinitionMode |
DEFINE_OVERWRITE
The occurrence is in overwriting mode when it is defined in the current table and it has a parent occurrence that has the same primary key. |
static DefinitionMode |
DEFINE_ROOT
An occurrence is in root mode when it is defined in the current table and it does not inherit from a parent occurrence. |
static DefinitionMode |
INHERIT
An occurrence is in inherit mode when it is not defined in the current table. |
Method Summary | |
String |
format()
Returns a persistent identifier of this definition mode. |
String |
getLabel()
Returns a human-readable label for this definition mode. |
boolean |
isDeriving()
Returns true if this is DEFINE_DERIVE state. |
boolean |
isInherit()
Returns true if this is INHERIT state. |
boolean |
isOcculting()
Returns true if this is DEFINE_OCCULT state. |
boolean |
isOverwriting()
Returns true if this is DEFINE_OVERWRITE state. |
boolean |
isRoot()
Returns true if this is DEFINE_ROOT state. |
static DefinitionMode |
parse(String aFlag)
Returns the definition mode that corresponds to the string specified. |
String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final DefinitionMode INHERIT
public static final DefinitionMode DEFINE_ROOT
public static final DefinitionMode DEFINE_OVERWRITE
The occurrence inherits its unspecified values from its parent occurrence.
public static final DefinitionMode DEFINE_OCCULT
This implies that if an occurrence in occulting mode is deleted, then the occurrence becomes inherited when it is defined in an ancestor instance
public static final DefinitionMode DEFINE_DERIVE
The occurrence inherits its unspecified values from its parent occurrence.
Method Detail |
public boolean isInherit()
true
if this is INHERIT
state.
public boolean isRoot()
true
if this is DEFINE_ROOT
state.
public boolean isOverwriting()
true
if this is DEFINE_OVERWRITE
state.
public boolean isOcculting()
true
if this is DEFINE_OCCULT
state.
public boolean isDeriving()
true
if this is DEFINE_DERIVE
state.
public String format()
The persistent identifier can be parsed back by the method parse(String)
.
parse(String)
public static DefinitionMode parse(String aFlag)
The string specified must have been generated by the method format()
.
IllegalArgumentException
- if string specified is incorrect.format()
public String getLabel()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.