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

java.lang.Object
  extended byorg.eclipse.higgins.idas.model.impl.AttributeModel
All Implemented Interfaces:
org.eclipse.higgins.idas.api.model.IAttributeModel, org.eclipse.higgins.idas.api.model.IModel

public class AttributeModel
extends Object
implements org.eclipse.higgins.idas.api.model.IAttributeModel


Constructor Summary
AttributeModel(ContextModel ctx, com.hp.hpl.jena.ontology.DatatypeProperty dp, AttributeComplexValueModel parent)
           
AttributeModel(ContextModel ctx, com.hp.hpl.jena.ontology.DatatypeProperty dp, EntityModel parent)
           
AttributeModel(ContextModel ctx, com.hp.hpl.jena.ontology.ObjectProperty op, AttributeComplexValueModel parent)
           
AttributeModel(ContextModel ctx, com.hp.hpl.jena.ontology.ObjectProperty op, EntityModel parent)
           
 
Method Summary
 org.eclipse.higgins.idas.api.model.IDisplayData getDisplayData()
           
 String getId()
           
 int getMaxCardinality()
           
 Iterator getMetadataModels()
           
 int getMinCardinality()
           
 org.eclipse.higgins.idas.api.model.IModel getOwner()
           
 URI getType()
           
 org.eclipse.higgins.idas.api.model.IAttributeValueModel getValueModel()
           
 boolean isDirect()
           
 boolean isSimple()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeModel

public AttributeModel(ContextModel ctx,
                      com.hp.hpl.jena.ontology.DatatypeProperty dp,
                      EntityModel parent)
               throws org.eclipse.higgins.idas.api.IdASException

AttributeModel

public AttributeModel(ContextModel ctx,
                      com.hp.hpl.jena.ontology.DatatypeProperty dp,
                      AttributeComplexValueModel parent)
               throws org.eclipse.higgins.idas.api.IdASException

AttributeModel

public AttributeModel(ContextModel ctx,
                      com.hp.hpl.jena.ontology.ObjectProperty op,
                      EntityModel parent)
               throws org.eclipse.higgins.idas.api.IdASException

AttributeModel

public AttributeModel(ContextModel ctx,
                      com.hp.hpl.jena.ontology.ObjectProperty op,
                      AttributeComplexValueModel parent)
               throws org.eclipse.higgins.idas.api.IdASException
Method Detail

getType

public URI getType()
Specified by:
getType in interface org.eclipse.higgins.idas.api.model.IModel

isDirect

public boolean isDirect()
Specified by:
isDirect in interface org.eclipse.higgins.idas.api.model.IAttributeModel

getMaxCardinality

public int getMaxCardinality()
Specified by:
getMaxCardinality in interface org.eclipse.higgins.idas.api.model.IAttributeModel

getMinCardinality

public int getMinCardinality()
Specified by:
getMinCardinality in interface org.eclipse.higgins.idas.api.model.IAttributeModel

getMetadataModels

public Iterator getMetadataModels()

getValueModel

public org.eclipse.higgins.idas.api.model.IAttributeValueModel getValueModel()
Specified by:
getValueModel in interface org.eclipse.higgins.idas.api.model.IAttributeModel

getId

public String getId()

isSimple

public boolean isSimple()

getOwner

public org.eclipse.higgins.idas.api.model.IModel getOwner()

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