public abstract class DictionaryObject
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Handles for the same DictionaryObject are equal.
|
boolean |
exists()
obj.exists() means you can reach obj if you start with the dictionary
and recursively explore all references.
|
abstract java.util.List<DOID> |
getAEReferences()
Get DOIDs referenced by this Object and descendants.
|
abstract java.util.List<DOID> |
getAllReferences()
Get all DOIDs referenced by this Object and descendants.
|
CombinedDataModel |
getCombinedDataModel()
get the combined data model from containing dictionary and linked dictionaries
|
java.util.Set<DOID> |
getContainedIDs()
Get the ID of this object and all objects that it contains, recursively.
|
java.util.Set<DOID> |
getContainedIDs(java.util.Set<DOID> addedIDs) |
DataModel |
getDataModel()
Get the data model for the containing dictionary
|
RuleDictionary |
getDictionary()
Get the dictionary that contains this component.
|
DOID |
getID()
Get dictionary object ID.
|
java.lang.String |
getObjectPath()
get the localized path to this object starting with the dictionary, e.g.
|
java.lang.String |
getObjectType()
get the translated name of the type of this dictionary object.
|
DictionaryObject |
getParentByClass(java.lang.Class pclass)
search the parent chain for an object
that correspondes to specified type.
|
DictionaryComponent |
getParentComponent()
get parent dictionary component
|
DictionaryComponentTable |
getParentComponentTable()
get parent dictionary component table
|
DictionaryObject |
getParentObject()
Get the immediate parent object
|
java.util.List<DOID> |
getReferences()
Get all DOIDs referenced by this Component and IDTable properties, but does not
include contained dictionary components.
|
RuleSet |
getRuleSet()
Get the RuleSet containing this dictionary object.
|
int |
getState() |
java.util.List<SDKWarning> |
getWarnings(boolean includeDescendants)
get Warnings associated with this dictionary object or its descendants.
|
int |
hashCode()
Handles for the same DictionaryObject have the same hash code
|
boolean |
isModified() |
abstract void |
validate(java.util.List<SDKException> errors,
java.util.List<SDKWarning> warnings)
Validate the entire dictionary object and its decendants.
|
void |
validate(java.util.List<SDKException> errors,
java.util.List<SDKWarning> warnings,
int modelChangeLowerBound)
Deprecated.
|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- object to test for equalitypublic int hashCode()
hashCode
in class java.lang.Object
public abstract java.util.List<DOID> getAEReferences()
public abstract java.util.List<DOID> getAllReferences()
public java.util.List<DOID> getReferences()
public DictionaryObject getParentObject()
public DOID getID()
public final boolean exists()
RuleDictionary.update(java.util.List<oracle.rules.sdk2.exception.SDKWarning>)
method actually updates
a cache that exists uses to make it fast.public final RuleDictionary getDictionary()
public DictionaryObject getParentByClass(java.lang.Class pclass)
public DataModel getDataModel()
public CombinedDataModel getCombinedDataModel()
public RuleSet getRuleSet()
@Deprecated public void validate(java.util.List<SDKException> errors, java.util.List<SDKWarning> warnings, int modelChangeLowerBound)
DictionaryObject.validate(List,List)
public abstract void validate(java.util.List<SDKException> errors, java.util.List<SDKWarning> warnings)
errors
- a List of error exceptions to append to.warnings
- a List of warning exceptions to append to.DictionaryObject.validate(List,List,int,int)
public DictionaryComponent getParentComponent()
public DictionaryComponentTable getParentComponentTable()
public java.lang.String getObjectType()
public java.lang.String getObjectPath()
public java.util.Set<DOID> getContainedIDs()
public java.util.List<SDKWarning> getWarnings(boolean includeDescendants)
RuleDictionary.update(java.util.List<oracle.rules.sdk2.exception.SDKWarning>)
are returned.includeDescendants
- whether to include warnings bound to this object's descendants.public boolean isModified()
public int getState()