public static class MacroDef.TemplateElement
extends java.lang.Object
Constructor | Description |
---|---|
TemplateElement() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object obj) |
equality method.
|
java.lang.String |
getDescription() |
Gets the description of this element.
|
java.lang.String |
getName() |
Gets the name of this element.
|
int |
hashCode() |
|
boolean |
isImplicit() |
Gets whether this element is implicit.
|
boolean |
isOptional() |
Gets whether this element is optional.
|
void |
setDescription(java.lang.String desc) |
Sets a textual description of this element,
for build documentation purposes only.
|
void |
setImplicit(boolean implicit) |
Sets whether this element is implicit.
|
void |
setName(java.lang.String name) |
Sets the name of this element.
|
void |
setOptional(boolean optional) |
Sets whether this element is optional.
|
public void setName(java.lang.String name)
name
- the name of the elementpublic java.lang.String getName()
public void setDescription(java.lang.String desc)
desc
- Description of the element.public java.lang.String getDescription()
null
if
no description is available.public void setOptional(boolean optional)
optional
- if true this element may be left out, default
is false.public boolean isOptional()
public void setImplicit(boolean implicit)
implicit
- if true this element may be left out, default
is false.public boolean isImplicit()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- an Object
valueboolean
valuepublic int hashCode()
hashCode
in class java.lang.Object