public interface GTEntity extends Nameable
Modifier and Type | Method and Description |
---|---|
GTIngredientsAttribute |
getCriteriaAttribute()
Return the attribute that stores all the criteria for this matcher.
|
java.lang.String |
getDefaultIconDescription()
Return a string that contains the SVG icon description
("<svg>...
|
GTIngredientsAttribute |
getOperationsAttribute()
Return the attribute that stores all the operations for this matcher.
|
PatternObjectAttribute |
getPatternObjectAttribute()
Return the attribute that stores the name of the corresponding entity in
the pattern of the same
TransformationRule , if this entity is in
the replacement, or null otherwise. |
java.util.Set<java.lang.String> |
labelSet()
Return the set of names of ingredients contained in this entity that can
be resolved.
|
boolean |
match(NamedObj object)
Test whether this GTEntity can match the given object.
|
void |
updateAppearance(GTIngredientsAttribute attribute)
Update appearance of this entity.
|
description, getContainer, getDisplayName, getFullName, getName, getName, setName
GTIngredientsAttribute getCriteriaAttribute()
java.lang.String getDefaultIconDescription()
GTIngredientsAttribute getOperationsAttribute()
PatternObjectAttribute getPatternObjectAttribute()
TransformationRule
, if this entity is in
the replacement, or null otherwise.labelSet()
java.util.Set<java.lang.String> labelSet()
boolean match(NamedObj object)
object
- The NamedObj.void updateAppearance(GTIngredientsAttribute attribute)
attribute
- The attribute containing ingredients of this entity.