|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbind.xml.instance.builder.DataContext
Constructor Summary | |
DataContext(boolean anIsShared)
|
Method Summary | |
void |
add(IDataReference anOpenReference)
Adds a data reference that is resolved later by calling the resolveReferences method. |
IAnyTypeData |
getIndexedData(IRef anIndexRef,
java.lang.Object aKey)
Gets a data object from an index. |
boolean |
isShared()
Indicates if the data context is shared, i.e. used for validation over several instances. |
void |
resolveReferences(IConstraintViolations aViolations)
Resolve the data references. |
IAnyTypeData |
setIndexedData(IRef anIndexRef,
java.lang.Object aKey,
IAnyTypeData aData)
Sets a data object in an index. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DataContext(boolean anIsShared)
Method Detail |
public void add(IDataReference anOpenReference)
IDataReferences
resolveReferences
method.
add
in interface IDataReferences
anOpenReference
- (required).public void resolveReferences(IConstraintViolations aViolations)
IDataReferences
resolveReferences
in interface IDataReferences
aViolations
- (required).public IAnyTypeData getIndexedData(IRef anIndexRef, java.lang.Object aKey)
IDataStore
getIndexedData
in interface IDataStore
anIndexRef
- (required).aKey
- (required).
public IAnyTypeData setIndexedData(IRef anIndexRef, java.lang.Object aKey, IAnyTypeData aData)
IDataStore
setIndexedData
in interface IDataStore
anIndexRef
- (required).aKey
- (required).aData
- (required).
public boolean isShared()
IDataContext
isShared
in interface IDataContext
true
iff the validation context is shared.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |