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
public abstract class ModelElement extends java.lang.ObjectNested Ant model element.
-
-
Constructor Summary
Constructors Constructor Description ModelElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAs()Returns the model element alias.java.lang.StringgetName()Returns the model element name.booleanisAllowInterModelReferences()Returns the allowInterModelReferences (default =true).voidsetAllowInterModelReferences(boolean allowInterModelReferences)Sets the allowInterModelReferences with the allowInterModelReferences value.voidsetAs(java.lang.String as)Sets the model element alias.voidsetName(java.lang.String name)Sets the model element name.
-
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
Sets the model element name.- Parameters:
name- the name to set
-
getName
public java.lang.String getName()
Returns the model element name.- Returns:
- the name
-
getAs
public java.lang.String getAs()
Returns the model element alias.- Returns:
- the as
-
setAs
public void setAs(java.lang.String as)
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
-
-