public class MElement
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CAPABILITY_SEPARATOR
The capability separator.
|
protected java.lang.String |
description
The element description.
|
protected java.lang.String |
name
The element name.
|
Constructor and Description |
---|
MElement()
Bean Constructor.
|
MElement(java.lang.String name)
Create a new element.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Test if objects are equal.
|
java.lang.String |
getCapabilityName()
Get the capability name for an element.
|
java.lang.String |
getDescription()
Get the description.
|
java.lang.String |
getElementName()
Get the local name for an element, i.e.
|
java.lang.String |
getName()
Get the name.
|
int |
hashCode()
Get the hashcode.
|
static java.lang.String |
internalName(java.lang.String name)
Convert a name to internal form for capability separator.
|
void |
setDescription(java.lang.String description)
Set the description.
|
void |
setFlatName(java.lang.String name)
Set the flat name, i.e.
|
void |
setName(java.lang.String name)
Set the name.
|
java.lang.String |
toString()
Create a string representation.
|
public static final java.lang.String CAPABILITY_SEPARATOR
protected java.lang.String name
protected java.lang.String description
public MElement()
public MElement(java.lang.String name)
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.public void setFlatName(java.lang.String name)
name
- The name to set.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The description to set.public java.lang.String getCapabilityName()
public java.lang.String getElementName()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static java.lang.String internalName(java.lang.String name)