|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAttributeModel
Represents a model of attribute as it defined in the context's ontology model.
The type returned by
IModel.getType() could be used in
IHasAttributes.addAttribute(URI) to create an
IAttribute of represented type.
IAttribute| Field Summary | |
|---|---|
static String |
MIXED_MODE
Different ontology classes can have different cardinality for the same property. |
static String |
MULTY_VALUED_MODE
Different ontology classes can have different cardinality for the same property. |
static String |
SINGLE_VALUED_MODE
property. |
| Method Summary | |
|---|---|
String |
getAttributeMode()
For some context providers the data storage model depends on whether the attribute is single- or multiple- valued. |
List |
getInheretedValueModels()
|
List |
getOwners()
|
List |
getOwnValueModels()
|
List |
getSubAttributes()
|
IAttributeModel |
getSuperAttribute()
|
IValueModel |
getValueModel()
Deprecated. Attribute values can all have different value models now |
List |
getValueModels()
|
boolean |
isSimple()
|
| Methods inherited from interface org.eclipse.higgins.idas.api.model.IModel |
|---|
getShortFormType, getType |
| Field Detail |
|---|
static final String SINGLE_VALUED_MODE
static final String MULTY_VALUED_MODE
static final String MIXED_MODE
| Method Detail |
|---|
IValueModel getValueModel()
throws IdASModelException
IdASModelException
List getValueModels()
throws IdASModelException
IdASModelException
List getOwnValueModels()
throws IdASModelException
IdASModelException
List getInheretedValueModels()
throws IdASModelException
IdASModelException
boolean isSimple()
throws IdASModelException
true if attribute contains simple values, otherwise
false
IdASModelException
List getOwners()
throws IdASModelException
org.eclipse.higgins.idas.api.IHasAttributeModel
which can have this attribute model
IdASModelException
List getSubAttributes()
throws IdASModelException
org.eclipse.higgins.idas.api.IAttributeModel
which properties are sub properties of property of this attribute
model
IdASModelException
IAttributeModel getSuperAttribute()
throws IdASModelException
IdASModelException
String getAttributeMode()
throws IdASModelException
SINGLE_VALUED_MODEL - if all Entities in the context
model own this attribute as single valued.
MULTY_VALUED_MODEL - if all Entities in the context
model own this attribute as single valued.
MIXED_MODEL - if some Entities in the context model
own this attribute as single valued, but others own this
attribute as multy valued.
IdASException
IdASModelException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||