org.eclipse.higgins.idas.model.impl
Class EntityModel
java.lang.Object
org.eclipse.higgins.idas.model.impl.EntityModel
- All Implemented Interfaces:
- org.eclipse.higgins.idas.api.model.IEntityModel, org.eclipse.higgins.idas.api.model.IModel
- public class EntityModel
- extends Object
- implements org.eclipse.higgins.idas.api.model.IEntityModel
EntityModel
public EntityModel(com.hp.hpl.jena.ontology.OntClass entityClass,
EntityModel parent,
ContextModel ctx)
throws Exception
getAttributeModels
public Iterator getAttributeModels()
- Specified by:
getAttributeModels in interface org.eclipse.higgins.idas.api.model.IEntityModel
getOwnAttributeModels
public Iterator getOwnAttributeModels()
getInheritedAttributeModels
public Iterator getInheritedAttributeModels()
getType
public URI getType()
- Specified by:
getType in interface org.eclipse.higgins.idas.api.model.IModel
getAttributeModel
public org.eclipse.higgins.idas.api.model.IAttributeModel getAttributeModel(URI type)
- Specified by:
getAttributeModel in interface org.eclipse.higgins.idas.api.model.IEntityModel
getModel
public org.eclipse.higgins.idas.api.model.IModel getModel(URI modelURI)
getOntClass
public com.hp.hpl.jena.ontology.OntClass getOntClass()
getId
public String getId()
getParentType
public String getParentType()
getMinCardinality
public int getMinCardinality(String attrType)
getMaxCardinality
public int getMaxCardinality(String attrType)
isBlankNode
public boolean isBlankNode()
isSimple
public boolean isSimple()
getParentEntity
public org.eclipse.higgins.idas.api.model.IEntityModel getParentEntity()
addSubEntity
public void addSubEntity(EntityModel child)
getSubEntities
public List getSubEntities()
getDisplayData
public org.eclipse.higgins.idas.api.model.IDisplayData getDisplayData()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getDisplayData in interface org.eclipse.higgins.idas.api.model.IModel
- Throws:
org.eclipse.higgins.idas.api.IdASException