|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.lehmannet.om.SchemaElement
public abstract class SchemaElement
The SchemaElement represents the root class for all schema element classes. It provides a simple implemantation of the ISchemaInterface, so that any subclass inherits a unique ID.
| Field Summary |
|---|
| Fields inherited from interface de.lehmannet.om.ISchemaElement |
|---|
XML_ELEMENT_ATTRIBUTE_ID |
| Constructor Summary | |
|---|---|
SchemaElement()
Constructs a new instance of a Schema Element. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Overwrittes equals(Object) method from java.lang.Object. |
abstract java.lang.String |
getDisplayName()
Returns a display name for this element. |
java.lang.String |
getID()
Returns a unique ID of this schema element. |
void |
setID(java.lang.String newID)
Sets a unique ID of this schema element. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SchemaElement()
| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - The Object to compare this SchemaElement with.
true if the given Object is an instance of ISchemaElement
and its ID equals this SchemaElements ID.Objectpublic java.lang.String getID()
getID in interface ISchemaElementpublic void setID(java.lang.String newID)
newID - The new unique ID for this object.public abstract java.lang.String getDisplayName()
getDisplayName in interface ISchemaElementjava.lang.Object.toString();
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||