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,java.lang.Cloneable
public class ASTODObject extends ASTODObjectTOP
-
-
Field Summary
-
Fields inherited from class de.monticore.tf.odrules._ast.ASTODObjectTOP
attributes, enclosingScope, innerLinks, name, spannedScope, stereotype, symbol, type
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedASTODObject()protectedASTODObject(ASTStereotype stereotype, java.lang.String name, ASTMCType type, java.util.List<ASTODAttribute> attributes, java.util.List<ASTODInnerLink> innerLinks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ASTODObjectdeepClone()java.util.List<ASTODObject>getAllODObjects()Returns all ODObjects, including inner links and deeper hierarchies.java.lang.StringgetStereotypeValue(java.lang.String name)booleanhasStereotype(java.lang.String name)booleanhasStereotype(java.lang.String name, java.lang.String value)java.lang.StringprintName()java.lang.StringprintQualifiedType()java.lang.StringprintType()-
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, toArrayInnerLinks
-
Methods 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_PreComments
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods 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 Detail
-
ASTODObject
protected ASTODObject()
-
ASTODObject
protected ASTODObject(ASTStereotype stereotype, java.lang.String name, ASTMCType type, java.util.List<ASTODAttribute> attributes, java.util.List<ASTODInnerLink> innerLinks)
-
-
Method Detail
-
deepClone
public ASTODObject deepClone()
- Specified by:
deepClonein interfacede.monticore.ast.ASTNode- Overrides:
deepClonein classASTODObjectTOP
-
hasStereotype
public boolean hasStereotype(java.lang.String name)
-
hasStereotype
public boolean hasStereotype(java.lang.String name, java.lang.String value)
-
getStereotypeValue
public java.lang.String getStereotypeValue(java.lang.String name)
-
printName
public java.lang.String printName()
-
printType
public java.lang.String printType()
-
printQualifiedType
public java.lang.String printQualifiedType()
-
getAllODObjects
public java.util.List<ASTODObject> getAllODObjects()
Returns all ODObjects, including inner links and deeper hierarchies.- Returns:
- a list of all ASTODObjects
-
-