Class UncopiedElement
- java.lang.Object
-
- net.ssehub.easy.varModel.model.rewrite.UncopiedElement
-
public class UncopiedElement extends java.lang.ObjectContaines description over elements which could not be copied by theProjectCopyVisitor.- Author:
- El-Sharkawy
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringnameprivate java.lang.StringparentNameprivate java.lang.Stringtypeprivate java.lang.StringuncopiedPart
-
Constructor Summary
Constructors Constructor Description UncopiedElement(ContainableModelElement originalElement)Constructor for a containable model element.UncopiedElement(UncopiedElementsContainer.UnresolvedAnnotationAssignment assignment)Constructor for anUncopiedElementsContainer.UnresolvedAnnotationAssignment.UncopiedElement(UncopiedElementsContainer.UnresolvedSyntaxContainer cstContainer)Constructor for anUncopiedElementsContainer.UnresolvedSyntaxContainer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Returns a default description of the element, using all the other getters.java.lang.StringgetName()The name of the element, which could not be copied.java.lang.StringgetParentName()The name of the parent.java.lang.StringgetType()Returns the type (class), which could not be copied.java.lang.StringgetUncopiedPart()The element itself, whoch could not be copied.java.lang.StringtoString()
-
-
-
Constructor Detail
-
UncopiedElement
UncopiedElement(ContainableModelElement originalElement)
Constructor for a containable model element.- Parameters:
originalElement- An element which could not be copied.
-
UncopiedElement
UncopiedElement(UncopiedElementsContainer.UnresolvedSyntaxContainer cstContainer)
Constructor for anUncopiedElementsContainer.UnresolvedSyntaxContainer.- Parameters:
cstContainer- An element which could not be copied.
-
UncopiedElement
UncopiedElement(UncopiedElementsContainer.UnresolvedAnnotationAssignment assignment)
Constructor for anUncopiedElementsContainer.UnresolvedAnnotationAssignment.- Parameters:
assignment- An element which could not be copied.
-
-
Method Detail
-
getType
public java.lang.String getType()
Returns the type (class), which could not be copied.- Returns:
- The type (class).
-
getName
public java.lang.String getName()
The name of the element, which could not be copied.- Returns:
- The name of the element
-
getParentName
public java.lang.String getParentName()
The name of the parent.- Returns:
- The name of the parent
-
getUncopiedPart
public java.lang.String getUncopiedPart()
The element itself, whoch could not be copied.
-
getDescription
public java.lang.String getDescription()
Returns a default description of the element, using all the other getters.- Returns:
- A default message, which may be used for debugging.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-