|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.meta2project.storage.DBEntity
org.meta2project.storage.DBOProperty
public class DBOProperty
Field Summary |
---|
Fields inherited from interface org.meta2project.model.AnnotatedEntity |
---|
CASCADE, CASCADE_DELETE_VALUE, COMMENT, MAX_CARD, MIN_CARD, MODEL_URI, TITLE |
Constructor Summary | |
---|---|
DBOProperty(DBConnection con,
CachedOProperty cachedEntity)
|
Method Summary | |
---|---|
void |
delete()
Удалить свойство. |
OntClass |
getDomain()
Get property domain |
EntityCache |
getEntityCache()
|
java.lang.Integer |
getMaxCardinality()
Get max.cardinality |
java.lang.Integer |
getMinCardinality()
Get min.cardinality |
OntClass |
getRange()
Get the range class for the oproperty. |
void |
setDomain(OntClass cl)
Set property domain |
void |
setRange(OntClass r)
Set range class |
Methods inherited from class org.meta2project.storage.DBEntity |
---|
equals, getAnnotation, getAnnotationNames, getFullName, getId, getName, getOntology, hashCode, putAnnotation, setName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.meta2project.model.NamedEntity |
---|
getFullName, getName, getOntology, setName |
Methods inherited from interface org.meta2project.model.AnnotatedEntity |
---|
getAnnotation, getAnnotationNames, putAnnotation |
Constructor Detail |
---|
public DBOProperty(DBConnection con, CachedOProperty cachedEntity)
Method Detail |
---|
public EntityCache getEntityCache()
getEntityCache
in class DBEntity
public OntClass getRange()
OProperty
getRange
in interface OProperty
public OntClass getDomain()
Property
getDomain
in interface Property
public java.lang.Integer getMinCardinality()
Property
getMinCardinality
in interface Property
public java.lang.Integer getMaxCardinality()
Property
getMaxCardinality
in interface Property
public void delete()
delete
in interface NamedEntity
delete
in interface Property
public void setDomain(OntClass cl)
Property
setDomain
in interface Property
cl
- domain class (may be null)public void setRange(OntClass r)
OProperty
setRange
in interface OProperty
r
- range class, may be null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |