Package de.monticore.tf.odrules._ast
Class ASTODObject
java.lang.Object
de.monticore.ast.ASTCNode
de.monticore.tf.odrules._ast.ASTODObjectTOP
de.monticore.tf.odrules._ast.ASTODObject
- All Implemented Interfaces:
de.monticore.ast.ASTNode,ASTODRulesNode,Cloneable
-
Field Summary
Fields inherited from class de.monticore.tf.odrules._ast.ASTODObjectTOP
attributes, enclosingScope, innerLinks, name, spannedScope, stereotype, symbol, typeFields inherited from class de.monticore.ast.ASTCNode
end, postcomments, precomments, start -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedASTODObject(ASTStereotype stereotype, String name, ASTMCType type, List<ASTODAttribute> attributes, List<ASTODInnerLink> innerLinks) -
Method Summary
Modifier and TypeMethodDescriptionReturns all ODObjects, including inner links and deeper hierarchies.getStereotypeValue(String name) booleanhasStereotype(String name) booleanhasStereotype(String name, String value) Methods inherited from class de.monticore.tf.odrules._ast.ASTODObjectTOP
_construct, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, addAllAttributes, addAllAttributes, addAllInnerLinks, addAllInnerLinks, addAttributes, addAttributes, addInnerLinks, addInnerLinks, clearAttributes, clearInnerLinks, containsAllAttributes, containsAllInnerLinks, containsAttributes, containsInnerLinks, deepClone, deepEquals, deepEquals, deepEqualsWithComments, deepEqualsWithComments, equalAttributes, equalsAttributes, equalsInnerLinks, equalsWithComments, evaluate, evaluate, forEachAttributes, forEachInnerLinks, getAttributes, getAttributesList, getEnclosingScope, getInnerLinks, getInnerLinksList, getName, getSpannedScope, getStereotype, getSymbol, getType, hashCodeAttributes, hashCodeInnerLinks, indexOfAttributes, indexOfInnerLinks, isEmptyAttributes, isEmptyInnerLinks, isPresentName, isPresentStereotype, isPresentSymbol, isPresentType, iteratorAttributes, iteratorInnerLinks, lastIndexOfAttributes, lastIndexOfInnerLinks, listIteratorAttributes, listIteratorAttributes, listIteratorInnerLinks, listIteratorInnerLinks, parallelStreamAttributes, parallelStreamInnerLinks, removeAllAttributes, removeAllInnerLinks, removeAttributes, removeAttributes, removeIfAttributes, removeIfInnerLinks, removeInnerLinks, removeInnerLinks, replaceAllAttributes, replaceAllInnerLinks, retainAllAttributes, retainAllInnerLinks, setAttributes, setAttributesList, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setInnerLinks, setInnerLinksList, setName, setNameAbsent, setSpannedScope, setStereotype, setStereotypeAbsent, setSymbol, setSymbolAbsent, setType, setTypeAbsent, sizeAttributes, sizeInnerLinks, sortAttributes, sortInnerLinks, spliteratorAttributes, spliteratorInnerLinks, streamAttributes, streamInnerLinks, subListAttributes, subListInnerLinks, toArrayAttributes, toArrayAttributes, toArrayInnerLinks, toArrayInnerLinksMethods inherited from class de.monticore.ast.ASTCNode
add_PostComment, add_PostComment, add_PreComment, add_PreComment, addAll_PostComments, addAll_PostComments, addAll_PreComments, addAll_PreComments, clear_PostComments, clear_PreComments, contains_PostComment, contains_PreComment, containsAll_PostComments, containsAll_PreComments, equals_PostComments, equals_PreComments, forEach_PostComments, forEach_PreComments, get_PostComment, get_PostCommentList, get_PreComment, get_PreCommentList, get_SourcePositionEnd, get_SourcePositionStart, hashCode_PostComments, hashCode_PreComments, indexOf_PostComment, indexOf_PreComment, isEmpty_PostComments, isEmpty_PreComments, isPresent_SourcePositionEnd, isPresent_SourcePositionStart, iterator_PostComments, iterator_PreComments, lastIndexOf_PostComment, lastIndexOf_PreComment, listIterator_PostComments, listIterator_PostComments, listIterator_PreComments, listIterator_PreComments, parallelStream_PostComments, parallelStream_PreComments, remove_PostComment, remove_PostComment, remove_PreComment, remove_PreComment, removeAll_PostComments, removeAll_PreComments, removeIf_PostComment, removeIf_PreComment, replaceAll_PostComments, replaceAll_PreComments, retainAll_PostComments, retainAll_PreComments, set_PostComment, set_PostCommentList, set_PreComment, set_PreCommentList, set_SourcePositionEnd, set_SourcePositionEndAbsent, set_SourcePositionStart, set_SourcePositionStartAbsent, size_PostComments, size_PreComments, sort_PostComments, sort_PreComments, spliterator_PostComments, spliterator_PreComments, stream_PostComments, stream_PreComments, subList_PostComments, subList_PreComments, toArray_PostComments, toArray_PostComments, toArray_PreComments, toArray_PreCommentsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.monticore.ast.ASTNode
add_PostComment, add_PostComment, add_PreComment, add_PreComment, addAll_PostComments, addAll_PostComments, addAll_PreComments, addAll_PreComments, clear_PostComments, clear_PreComments, contains_PostComment, contains_PreComment, containsAll_PostComments, containsAll_PreComments, equals_PostComments, equals_PreComments, forEach_PostComments, forEach_PreComments, get_PostComment, get_PostCommentList, get_PreComment, get_PreCommentList, get_SourcePositionEnd, get_SourcePositionStart, hashCode_PostComments, hashCode_PreComments, indexOf_PostComment, indexOf_PreComment, isEmpty_PostComments, isEmpty_PreComments, isPresent_SourcePositionEnd, isPresent_SourcePositionStart, iterator_PostComments, iterator_PreComments, lastIndexOf_PostComment, lastIndexOf_PreComment, listIterator_PostComments, listIterator_PostComments, listIterator_PreComments, listIterator_PreComments, parallelStream_PostComments, parallelStream_PreComments, remove_PostComment, remove_PostComment, remove_PreComment, remove_PreComment, removeAll_PostComments, removeAll_PreComments, removeIf_PostComment, removeIf_PreComment, replaceAll_PostComments, replaceAll_PreComments, retainAll_PostComments, retainAll_PreComments, set_PostComment, set_PostCommentList, set_PreComment, set_PreCommentList, set_SourcePositionEnd, set_SourcePositionEndAbsent, set_SourcePositionStart, set_SourcePositionStartAbsent, size_PostComments, size_PreComments, sort_PostComments, sort_PreComments, spliterator_PostComments, spliterator_PreComments, stream_PostComments, stream_PreComments, subList_PostComments, subList_PreComments, toArray_PostComments, toArray_PostComments, toArray_PreComments, toArray_PreComments
-
Constructor Details
-
ASTODObject
protected ASTODObject() -
ASTODObject
protected ASTODObject(ASTStereotype stereotype, String name, ASTMCType type, List<ASTODAttribute> attributes, List<ASTODInnerLink> innerLinks)
-
-
Method Details
-
deepClone
- Specified by:
deepClonein interfacede.monticore.ast.ASTNode- Overrides:
deepClonein classASTODObjectTOP
-
hasStereotype
-
hasStereotype
-
getStereotypeValue
-
printName
-
printType
-
printQualifiedType
-
getAllODObjects
Returns all ODObjects, including inner links and deeper hierarchies.- Returns:
- a list of all ASTODObjects
-