org.eclipse.higgins.idas.model.impl
Class EntityModel

java.lang.Object
  extended byorg.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


Constructor Summary
EntityModel(com.hp.hpl.jena.ontology.OntClass entityClass, EntityModel parent, ContextModel ctx)
           
 
Method Summary
 void addSubEntity(EntityModel child)
           
 org.eclipse.higgins.idas.api.model.IAttributeModel getAttributeModel(URI type)
           
 Iterator getAttributeModels()
           
 org.eclipse.higgins.idas.api.model.IDisplayData getDisplayData()
           
 String getId()
           
 Iterator getInheritedAttributeModels()
           
 int getMaxCardinality(String attrType)
           
 int getMinCardinality(String attrType)
           
 org.eclipse.higgins.idas.api.model.IModel getModel(URI modelURI)
           
 com.hp.hpl.jena.ontology.OntClass getOntClass()
           
 Iterator getOwnAttributeModels()
           
 org.eclipse.higgins.idas.api.model.IEntityModel getParentEntity()
           
 String getParentType()
           
 List getSubEntities()
           
 URI getType()
           
 boolean isBlankNode()
           
 boolean isSimple()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityModel

public EntityModel(com.hp.hpl.jena.ontology.OntClass entityClass,
                   EntityModel parent,
                   ContextModel ctx)
            throws Exception
Method Detail

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