|
COSMOS ${releaseVersion} resource-modeling Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.cosmos.rm.validation.internal.databuilders.IdentityConstraintDataBuilder.IdentityConstraintStructure
public static class IdentityConstraintDataBuilder.IdentityConstraintStructure
A data structure which stores information about the identity constraints. e.g. The declaration and the instances that require applying the identity constraint to.
| Constructor Summary | |
|---|---|
IdentityConstraintDataBuilder.IdentityConstraintStructure()
|
|
| Method Summary | |
|---|---|
void |
addConstrainedInstance(java.lang.String alias,
int[] indices)
Adds a constrained instance to this structure |
void |
addDeclaration(java.lang.String uri,
java.lang.String localName,
IdentityConstraintDataBuilder.IdentityConstraintDecl identityDecl)
Adds a declaration to this structure |
void |
addOrphanedConstrainedInstance(int orphanInx,
int[] indices)
|
java.util.Map |
getConstrainedInstances()
|
java.util.Map |
getDeclarations()
|
java.util.Map |
getOrphanedConstrainedInstances()
|
boolean |
isConstrained(java.lang.String uri,
java.lang.String localName)
Retunrns true iff the element with the namespace, 'uri', and local name, 'localName' has an associated identity constraint. |
IdentityConstraintDataBuilder.IdentityConstraintDecl[] |
retrieveConstraint(java.lang.String uri,
java.lang.String localName)
Retrieves the constraints based on the uri and the local name of an element. |
void |
setConstrainedInstances(java.util.Map constrainedInstances)
|
void |
setDeclarations(java.util.Map declarations)
|
void |
setOrphanedConstrainedInstances(java.util.Map orphanedConstrainedInstances)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IdentityConstraintDataBuilder.IdentityConstraintStructure()
| Method Detail |
|---|
public void addDeclaration(java.lang.String uri,
java.lang.String localName,
IdentityConstraintDataBuilder.IdentityConstraintDecl identityDecl)
uri - The uri of the elementlocalName - The local name of the elementidentityDecl - The identity declaration
public void addConstrainedInstance(java.lang.String alias,
int[] indices)
alias - The alias of the documentindices - The indices leading to the node that has an identity constraint
public void addOrphanedConstrainedInstance(int orphanInx,
int[] indices)
public boolean isConstrained(java.lang.String uri,
java.lang.String localName)
uri - The URI of the elementlocalName - The local name of the element
public IdentityConstraintDataBuilder.IdentityConstraintDecl[] retrieveConstraint(java.lang.String uri,
java.lang.String localName)
uri - The uri of an elementlocalName - The local name of an element
public java.util.Map getConstrainedInstances()
public java.util.Map getDeclarations()
public java.util.Map getOrphanedConstrainedInstances()
public void setConstrainedInstances(java.util.Map constrainedInstances)
constrainedInstances - the constrainedInstances to setpublic void setDeclarations(java.util.Map declarations)
declarations - the declarations to setpublic void setOrphanedConstrainedInstances(java.util.Map orphanedConstrainedInstances)
orphanedConstrainedInstances - the orphanedConstrainedInstances to set
|
COSMOS ${releaseVersion} resource-modeling Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||