|
|||||||||
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.DBTProperty
public class DBTProperty
Field Summary |
---|
Fields inherited from interface org.meta2project.model.AnnotatedEntity |
---|
CASCADE, CASCADE_DELETE_VALUE, COMMENT, MAX_CARD, MIN_CARD, MODEL_URI, TITLE |
Constructor Summary | |
---|---|
DBTProperty(DBConnection con,
CachedTProperty cachedEntity)
|
Method Summary | |
---|---|
void |
delete()
Удалить свойство. |
java.util.List<java.lang.String> |
getAllValues()
Get all values of the tproperty for all objects (from all ontologies). |
OntClass |
getDomain()
Get property domain |
EntityCache |
getEntityCache()
|
java.lang.Integer |
getMaxCardinality()
Получить максимальную кардинальность |
java.lang.Integer |
getMinCardinality()
Get min.cardinality |
java.util.Collection<OntObject> |
getOwners(java.lang.String value)
Get the collection of objects, which values of this tproperty equal to the specified value at least one time. |
Type |
getRange()
Get the range data type for the tproperty. |
void |
setDomain(OntClass cl)
Set property domain |
void |
setRange(Type r)
Set range (may be null) |
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 DBTProperty(DBConnection con, CachedTProperty cachedEntity)
Method Detail |
---|
public EntityCache getEntityCache()
getEntityCache
in class DBEntity
public Type getRange()
TProperty
getRange
in interface TProperty
public OntClass getDomain()
Property
getDomain
in interface Property
public java.lang.Integer getMinCardinality()
Property
getMinCardinality
in interface Property
public java.lang.Integer getMaxCardinality()
getMaxCardinality
in interface Property
public java.util.List<java.lang.String> getAllValues()
TProperty
getAllValues
in interface TProperty
public java.util.Collection<OntObject> getOwners(java.lang.String value)
TProperty
getOwners
in interface TProperty
value
- the value to find
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(Type r)
TProperty
setRange
in interface TProperty
r
- range type, may be null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |