java.io.Serializable, AttributeContextpublic class Definition extends BasicAttributeContext
| Modifier and Type | Field | Description |
|---|---|---|
protected java.lang.String |
inherit |
Extends attribute value.
|
protected java.lang.String |
name |
Definition name.
|
attributes, cascadedAttributes, preparer, templateAttribute| Constructor | Description |
|---|---|
Definition() |
Constructor.
|
Definition(java.lang.String name,
Attribute templateAttribute,
java.util.Map<java.lang.String,Attribute> attributes) |
Constructor.
|
Definition(Definition definition) |
Copy Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object obj) |
|
java.lang.String |
getExtends() |
Get extends.
|
java.lang.String |
getName() |
Access method for the name property.
|
int |
hashCode() |
|
boolean |
isExtending() |
Get extends flag.
|
void |
setExtends(java.lang.String name) |
Set extends.
|
void |
setName(java.lang.String aName) |
Sets the value of the name property.
|
java.lang.String |
toString() |
Returns a description of the attributes.
|
addAll, addMissing, clear, getAttribute, getCascadedAttribute, getCascadedAttributeNames, getLocalAttribute, getLocalAttributeNames, getPreparer, getTemplateAttribute, inherit, inherit, inheritCascadedAttributes, putAttribute, putAttribute, setPreparer, setTemplateAttributeprotected java.lang.String inherit
protected java.lang.String name
public Definition()
public Definition(Definition definition)
definition - The definition to copy.public Definition(java.lang.String name,
Attribute templateAttribute,
java.util.Map<java.lang.String,Attribute> attributes)
name - The name of the definition.templateAttribute - The template attribute of the definition.attributes - The attribute map of the definition.public java.lang.String getName()
public void setName(java.lang.String aName)
aName - the new value of the name propertypublic void setExtends(java.lang.String name)
name - Name of the extended definition.public java.lang.String getExtends()
public boolean equals(java.lang.Object obj)
equals in class BasicAttributeContextpublic int hashCode()
hashCode in class BasicAttributeContextpublic boolean isExtending()
true if this definition extends another.public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018. All rights reserved.