com.ontotext.wsmo4j.ontology
Class AttributeImpl
java.lang.Object
com.ontotext.wsmo4j.common.EntityImpl
com.ontotext.wsmo4j.ontology.AttributeImpl
- All Implemented Interfaces:
- org.omwg.ontology.Attribute, org.wsmo.common.Entity
public class AttributeImpl
- extends EntityImpl
- implements org.omwg.ontology.Attribute
|
Constructor Summary |
AttributeImpl(org.wsmo.common.Identifier thisID,
org.omwg.ontology.Concept domain)
|
| Methods inherited from interface org.wsmo.common.Entity |
addNFPValue, addNFPValue, getIdentifier, listNFPValues, listNFPValues, removeNFP, removeNFPValue, removeNFPValue |
AttributeImpl
public AttributeImpl(org.wsmo.common.Identifier thisID,
org.omwg.ontology.Concept domain)
getConcept
public org.omwg.ontology.Concept getConcept()
throws org.wsmo.common.exception.SynchronisationException
- Specified by:
getConcept in interface org.omwg.ontology.Attribute
- Throws:
org.wsmo.common.exception.SynchronisationException
removeFromConcept
public void removeFromConcept()
throws org.wsmo.common.exception.InvalidModelException
- Throws:
org.wsmo.common.exception.InvalidModelException
isConstraining
public boolean isConstraining()
- Specified by:
isConstraining in interface org.omwg.ontology.Attribute
setConstraining
public void setConstraining(boolean constraining)
- Specified by:
setConstraining in interface org.omwg.ontology.Attribute
getMinCardinality
public int getMinCardinality()
- Specified by:
getMinCardinality in interface org.omwg.ontology.Attribute
setMinCardinality
public void setMinCardinality(int min)
- Specified by:
setMinCardinality in interface org.omwg.ontology.Attribute
getMaxCardinality
public int getMaxCardinality()
- Specified by:
getMaxCardinality in interface org.omwg.ontology.Attribute
setMaxCardinality
public void setMaxCardinality(int max)
- Specified by:
setMaxCardinality in interface org.omwg.ontology.Attribute
listTypes
public Set<org.omwg.ontology.Type> listTypes()
- Specified by:
listTypes in interface org.omwg.ontology.Attribute
addType
public void addType(org.omwg.ontology.Type type)
throws org.wsmo.common.exception.InvalidModelException
- Specified by:
addType in interface org.omwg.ontology.Attribute
- Throws:
org.wsmo.common.exception.InvalidModelException
removeType
public void removeType(org.omwg.ontology.Type type)
throws org.wsmo.common.exception.InvalidModelException
- Specified by:
removeType in interface org.omwg.ontology.Attribute
- Throws:
org.wsmo.common.exception.InvalidModelException
isReflexive
public boolean isReflexive()
- Specified by:
isReflexive in interface org.omwg.ontology.Attribute
setReflexive
public void setReflexive(boolean reflexive)
- Specified by:
setReflexive in interface org.omwg.ontology.Attribute
isSymmetric
public boolean isSymmetric()
- Specified by:
isSymmetric in interface org.omwg.ontology.Attribute
setSymmetric
public void setSymmetric(boolean symmetric)
- Specified by:
setSymmetric in interface org.omwg.ontology.Attribute
isTransitive
public boolean isTransitive()
- Specified by:
isTransitive in interface org.omwg.ontology.Attribute
setTransitive
public void setTransitive(boolean trans)
- Specified by:
setTransitive in interface org.omwg.ontology.Attribute
getInverseOf
public org.wsmo.common.Identifier getInverseOf()
- Specified by:
getInverseOf in interface org.omwg.ontology.Attribute
setInverseOf
public void setInverseOf(org.wsmo.common.Identifier id)
- Specified by:
setInverseOf in interface org.omwg.ontology.Attribute
equals
public boolean equals(Object object)
- Overrides:
equals in class EntityImpl
Copyright © 2004-2008 Ontotext Lab.. All Rights Reserved.