|
|||||||||
| 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 DBEntitypublic Type getRange()
TProperty
getRange in interface TPropertypublic OntClass getDomain()
Property
getDomain in interface Propertypublic java.lang.Integer getMinCardinality()
Property
getMinCardinality in interface Propertypublic java.lang.Integer getMaxCardinality()
getMaxCardinality in interface Propertypublic java.util.List<java.lang.String> getAllValues()
TProperty
getAllValues in interface TPropertypublic java.util.Collection<OntObject> getOwners(java.lang.String value)
TProperty
getOwners in interface TPropertyvalue - the value to find
public void delete()
delete in interface NamedEntitydelete in interface Propertypublic void setDomain(OntClass cl)
Property
setDomain in interface Propertycl - domain class (may be null)public void setRange(Type r)
TProperty
setRange in interface TPropertyr - range type, may be null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||