org.meta2project.model.debug
Class DebugNamedEntity
java.lang.Object
org.meta2project.model.debug.DebugAnnotatedEntity
org.meta2project.model.debug.DebugNamedEntity
- All Implemented Interfaces:
- AnnotatedEntity, NamedEntity
- Direct Known Subclasses:
- DebugOntClass, DebugOntObject, DebugOProperty, DebugTProperty, DebugType
public class DebugNamedEntity
- extends DebugAnnotatedEntity
- implements NamedEntity
- Author:
- Anton Malykh
Method Summary |
void |
delete()
Delete the entity. |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getFullName()
Get the full name of the entity. |
java.lang.String |
getName()
Get the short name of the entity |
Ontology |
getOntology()
Get the entity's ontology |
int |
hashCode()
|
void |
setName(java.lang.String name)
Set short name |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
session
protected final DebugSession session
name
public java.lang.String name
fullName
public java.lang.String fullName
DebugNamedEntity
protected DebugNamedEntity(DebugSession session,
NamedEntity namedEntity)
getOntology
public Ontology getOntology()
- Description copied from interface:
NamedEntity
- Get the entity's ontology
- Specified by:
getOntology
in interface NamedEntity
- Returns:
- ontology
getName
public java.lang.String getName()
- Description copied from interface:
NamedEntity
- Get the short name of the entity
- Specified by:
getName
in interface NamedEntity
- Returns:
- short name
setName
public void setName(java.lang.String name)
- Description copied from interface:
NamedEntity
- Set short name
- Specified by:
setName
in interface NamedEntity
- Parameters:
name
- new short name
getFullName
public java.lang.String getFullName()
- Description copied from interface:
NamedEntity
- Get the full name of the entity.
- Specified by:
getFullName
in interface NamedEntity
- Returns:
- имя
delete
public void delete()
- Description copied from interface:
NamedEntity
- Delete the entity.
- Specified by:
delete
in interface NamedEntity
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object