Package org.eclipse.m2m.atl.emftvm.ant
Class ModelElement
java.lang.Object
org.eclipse.m2m.atl.emftvm.ant.ModelElement
- Direct Known Subclasses:
InModel
,InOutModel
,MetaModel
,OutModel
,OutModelSet
Nested Ant model element.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAs()
Returns the model element alias.getName()
Returns the model element name.boolean
Returns the allowInterModelReferences (default =true
).void
setAllowInterModelReferences
(boolean allowInterModelReferences) Sets the allowInterModelReferences with the allowInterModelReferences value.void
Sets the model element alias.void
Sets the model element name.
-
Constructor Details
-
ModelElement
public ModelElement()
-
-
Method Details
-
setName
Sets the model element name.- Parameters:
name
- the name to set
-
getName
Returns the model element name.- Returns:
- the name
-
getAs
Returns the model element alias.- Returns:
- the as
-
setAs
Sets the model element alias.- Parameters:
as
- the as to set
-
isAllowInterModelReferences
public boolean isAllowInterModelReferences()Returns the allowInterModelReferences (default =true
).- Returns:
- the allowInterModelReferences
-
setAllowInterModelReferences
public void setAllowInterModelReferences(boolean allowInterModelReferences) Sets the allowInterModelReferences with the allowInterModelReferences value.- Parameters:
allowInterModelReferences
- the allowInterModelReferences to set
-