org.eclipse.higgins.idas.model.impl
Class AttributeComplexValueModel
java.lang.Object
org.eclipse.higgins.idas.model.impl.AttributeComplexValueModel
- All Implemented Interfaces:
- IAttributeComplexValueModel, org.eclipse.higgins.idas.api.model.IAttributeValueModel, org.eclipse.higgins.idas.api.model.IEntityModel, org.eclipse.higgins.idas.api.model.IModel
- public class AttributeComplexValueModel
- extends Object
- implements IAttributeComplexValueModel
AttributeComplexValueModel
public AttributeComplexValueModel(ContextModel ctx,
AttributeModel parent,
com.hp.hpl.jena.ontology.ObjectProperty attr)
throws org.eclipse.higgins.idas.api.IdASException
getAttributes
public Iterator getAttributes()
getAttributeModels
public Iterator getAttributeModels()
- Specified by:
getAttributeModels in interface org.eclipse.higgins.idas.api.model.IEntityModel
getOwnAttributeModels
public Iterator getOwnAttributeModels()
getInheritedAttributeModels
public Iterator getInheritedAttributeModels()
isSimple
public boolean isSimple()
- Specified by:
isSimple in interface org.eclipse.higgins.idas.api.model.IAttributeValueModel
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
getMaxCardinality
public int getMaxCardinality()
- Specified by:
getMaxCardinality in interface org.eclipse.higgins.idas.api.model.IAttributeValueModel
getMetadataModels
public Iterator getMetadataModels()
getMinCardinality
public int getMinCardinality()
- Specified by:
getMinCardinality in interface org.eclipse.higgins.idas.api.model.IAttributeValueModel
getOntClass
public com.hp.hpl.jena.ontology.OntClass getOntClass()
getParentType
public String getParentType()
getId
public String getId()
getMinCardinality
public int getMinCardinality(String attrType)
getMaxCardinality
public int getMaxCardinality(String attrType)
isBlankNode
public boolean isBlankNode()
getParentEntity
public org.eclipse.higgins.idas.api.model.IEntityModel getParentEntity()
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