cs.arizona.tau.xml.temporalconstraint
Class ReferentialIntegrityConstraint
java.lang.Object
cs.arizona.tau.xml.temporalconstraint.Constraint
cs.arizona.tau.xml.temporalconstraint.ReferentialIntegrityConstraint
public class ReferentialIntegrityConstraint
- extends Constraint
The ReferentialIntegrityConstraint
sub-class extending
Constraint
- Author:
- ruizhang
Constructor Summary |
ReferentialIntegrityConstraint(java.lang.String name,
java.lang.String dimension,
java.lang.String selector,
java.lang.String field,
int evaluation_window,
int slide_size,
Applicability applicability,
java.lang.String conventional_constraint,
java.lang.String refer,
java.lang.String ref_selector,
java.lang.String ref_field)
Constructing the IndentyConstraint instance with its
specific attributes, which are conventional_constraint ,
refer , ref_selector and ref_field . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ReferentialIntegrityConstraint
public ReferentialIntegrityConstraint(java.lang.String name,
java.lang.String dimension,
java.lang.String selector,
java.lang.String field,
int evaluation_window,
int slide_size,
Applicability applicability,
java.lang.String conventional_constraint,
java.lang.String refer,
java.lang.String ref_selector,
java.lang.String ref_field)
- Constructing the
IndentyConstraint
instance with its
specific attributes, which are conventional_constraint
,
refer
, ref_selector
and ref_field
.
Note that ref_selector
and ref_field
are
not specified directly in the annotation but retrieved from the snapshot
schema by evaluating the
refer
/conventional_constraint
field
- Parameters:
name
- dimension
- selector
- field
- evaluation_window
- slide_size
- applicability
- conventional_constraint
- refer
- ref_selector
- ref_field
-
getConventionalConstraint
public java.lang.String getConventionalConstraint()
getRefer
public java.lang.String getRefer()
getRefSelector
public java.lang.String getRefSelector()
getRefField
public java.lang.String getRefField()
CheckNonSeqKeyRef
public static boolean CheckNonSeqKeyRef(org.w3c.dom.Document temporal_doc,
org.w3c.dom.Document schema_doc,
java.util.Vector<Constraint> constraints)
- Checking constraint 6.2 the
NonSeqKeyRef
constraint
- Parameters:
temporal_doc
- the temporal documentconstraints
- the list of defined NonSeqKeyRef
constraints