|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttrInstance
Interface of tuples of attribute values.
Method Summary | |
---|---|
void |
apply(AttrInstance rightSide,
AttrContext context)
Applying a rule; the substitutions occur "in-place" (in the recipient); In Graph Transformation, this method is applied to attributes of host graph objects, "rightSide" being an attribute of the right side of the rule and "context" being the "match"-context built up by subsequently matching the attributes of corresponding graphical objects. |
void |
apply(AttrInstance rightSide,
AttrContext context,
AttrInstance g)
Applying a rule; the substitutions occur "in-place" (in the recipient); In Graph Transformation, this method is applied to attributes of host graph objects, "rightSide" being an attribute of the right side of the rule and "context" being the "match"-context built up by subsequently matching the attributes of corresponding graphical objects. |
void |
apply(AttrInstance rightSide,
AttrContext context,
AttrInstance g,
boolean allowVariableWithoutValue)
This method works like public void apply( AttrInstance rightSide, AttrContext context, AttrInstance g ) but also allows using variables without value in value of attribute member as expression |
void |
apply(AttrInstance rightSide,
AttrContext context,
boolean allowVariableWithoutValue)
This method works like public void apply( AttrInstance rightSide, AttrContext context ) but also allows using variables without value in value of attribute member as expression |
boolean |
compareTo(AttrInstance another)
|
void |
copy(AttrInstance source)
Copying the contents of an attribute instance into another; The reference to the attribute type is shared. |
void |
copyEntries(AttrInstance source)
Copying the contents of an attribute instance into another. |
AttrContext |
getContext()
Retrieving the context of an instance. |
int |
getNumberOfFreeVariables(AttrContext context)
Getting the number of variables declared by this instance which have no value assigned to them yet. |
AttrType |
getType()
Retrieving the type of an instance. |
java.lang.Object |
getValueAt(java.lang.String name)
Retrieving the value of an entry. |
boolean |
isValueSetAt(java.lang.String name)
Test, if a value is set or not. |
void |
setExprAt(java.lang.String expr,
java.lang.String name)
Setting an expression as an entry without immediate evaluation. |
void |
setExprValueAt(java.lang.String expr,
java.lang.String name)
Evaluating an expression and setting its value as an entry. |
void |
setValueAt(java.lang.Object value,
java.lang.String name)
Setting the value of an entry directly. |
void |
unsetValue()
Unset the value of the own attribute members (not of attribute members of its parents). |
Methods inherited from interface agg.attribute.AttrTuple |
---|
addObserver, getAttrManager, getIndexForMember, getMemberAt, getMemberAt, getMemberAt, getNameAsString, getNameAsString, getNumberOfEntries, getNumberOfEntries, getTupleType, getTypeAsString, getTypeAsString, getValueAsString, getValueAsString, isValid, removeObserver |
Methods inherited from interface agg.util.XMLObject |
---|
XreadObject, XwriteObject |
Method Detail |
---|
AttrType getType()
AttrContext getContext()
boolean isValueSetAt(java.lang.String name)
java.lang.Object getValueAt(java.lang.String name)
void setValueAt(java.lang.Object value, java.lang.String name)
value
- Any object instance.name
- specifies the entry to change.void setExprValueAt(java.lang.String expr, java.lang.String name)
expr
- textual expression representation;name
- specifies the entry to change.void setExprAt(java.lang.String expr, java.lang.String name)
expr
- textual expression representation;name
- specifies the entry to change;void copy(AttrInstance source)
void copyEntries(AttrInstance source)
int getNumberOfFreeVariables(AttrContext context)
void apply(AttrInstance rightSide, AttrContext context)
void apply(AttrInstance rightSide, AttrContext context, AttrInstance g)
void apply(AttrInstance rightSide, AttrContext context, AttrInstance g, boolean allowVariableWithoutValue)
void apply(AttrInstance rightSide, AttrContext context, boolean allowVariableWithoutValue)
boolean compareTo(AttrInstance another)
void unsetValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |