org.meta2project.model
Interface NamedEntity

All Superinterfaces:
AnnotatedEntity
All Known Subinterfaces:
OntClass, OntObject, OProperty, Property, TProperty, Type
All Known Implementing Classes:
BoxNamedEntity, BoxOntClass, BoxOntObject, BoxOProperty, BoxProperty, BoxTProperty, BoxType, DBEntity, DBOntClass, DBOntObject, DBOntObjectBase, DBOProperty, DBTProperty, DBType, DebugNamedEntity, DebugOntClass, DebugOntObject, DebugOProperty, DebugTProperty, DebugType

public interface NamedEntity
extends AnnotatedEntity

Именованная сущность. Полное имя состоит из названия (URI) онтологии, знака '#' и короткого имени. Например, если полное имя http://teacode.com/meta#Manifest то короткое имя Manifest

Author:
Anton Malykh

Field Summary
 
Fields inherited from interface org.meta2project.model.AnnotatedEntity
CASCADE, CASCADE_DELETE_VALUE, COMMENT, MAX_CARD, MIN_CARD, MODEL_URI, TITLE
 
Method Summary
 void delete()
          Delete the entity.
 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
 void setName(java.lang.String name)
          Set short name
 
Methods inherited from interface org.meta2project.model.AnnotatedEntity
getAnnotation, getAnnotationNames, putAnnotation
 

Method Detail

getOntology

Ontology getOntology()
Get the entity's ontology

Returns:
ontology

getName

java.lang.String getName()
Get the short name of the entity

Returns:
short name

setName

void setName(java.lang.String name)
Set short name

Parameters:
name - new short name

getFullName

java.lang.String getFullName()
Get the full name of the entity.

Returns:
имя

delete

void delete()
Delete the entity.