public abstract class Element extends Named
Constructor and Description |
---|
Element(java.lang.String name)
create an element with the given name
|
Modifier and Type | Method and Description |
---|---|
void |
changeName(java.lang.String name)
changes the name of the object.
|
java.lang.String |
getGenericNameForProperty()
provides the generic name of the variable for properties that can be
instanciated multiple times
|
abstract java.lang.String |
getJavaFieldName() |
void |
setGenericsName(java.lang.String genericsname)
sets the generics name of the variable, typically, this will be the same even
if there are different instances of the field or property.
|
public Element(java.lang.String name)
name
- name of the elementpublic java.lang.String getGenericNameForProperty()
public void setGenericsName(java.lang.String genericsname)
genericsname
- generics namepublic abstract java.lang.String getJavaFieldName()
public void changeName(java.lang.String name)
Named
changeName
in class Named