Package ubic.basecode.ontology.jena
Class OntologyCardinalityRestrictionImpl
- java.lang.Object
-
- ubic.basecode.ontology.jena.AbstractOntologyResource
-
- ubic.basecode.ontology.jena.OntologyTermImpl
-
- ubic.basecode.ontology.jena.OntologyRestrictionImpl
-
- ubic.basecode.ontology.jena.OntologyCardinalityRestrictionImpl
-
- All Implemented Interfaces:
Serializable
,Comparable<OntologyResource>
,OntologyCardinalityRestriction
,OntologyResource
,OntologyRestriction
,OntologyTerm
public class OntologyCardinalityRestrictionImpl extends OntologyRestrictionImpl implements OntologyCardinalityRestriction
- Author:
- pavlidis
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface ubic.basecode.ontology.model.OntologyCardinalityRestriction
OntologyCardinalityRestriction.CardinalityType
-
-
Field Summary
-
Fields inherited from class ubic.basecode.ontology.jena.OntologyRestrictionImpl
restrictionOn
-
Fields inherited from class ubic.basecode.ontology.jena.AbstractOntologyResource
log
-
-
Constructor Summary
Constructors Constructor Description OntologyCardinalityRestrictionImpl(com.hp.hpl.jena.ontology.Restriction resource, Set<com.hp.hpl.jena.ontology.Restriction> additionalRestrictions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCardinality()
OntologyCardinalityRestriction.CardinalityType
getCardinalityType()
String
toString()
-
Methods inherited from class ubic.basecode.ontology.jena.OntologyRestrictionImpl
getRestrictionOn
-
Methods inherited from class ubic.basecode.ontology.jena.OntologyTermImpl
getAlternativeIds, getAnnotations, getChildren, getComment, getIndividuals, getLocalName, getModel, getParents, getRestrictions, getTerm, isObsolete, isRoot, isTermObsolete
-
Methods inherited from class ubic.basecode.ontology.jena.AbstractOntologyResource
compareTo, equals, getLabel, getScore, getUri, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface ubic.basecode.ontology.model.OntologyResource
getLabel, getScore, getUri, isObsolete
-
Methods inherited from interface ubic.basecode.ontology.model.OntologyRestriction
getRestrictionOn
-
Methods inherited from interface ubic.basecode.ontology.model.OntologyTerm
getAlternativeIds, getAnnotations, getChildren, getChildren, getChildren, getComment, getIndividuals, getIndividuals, getLocalName, getModel, getParents, getParents, getParents, getRestrictions, getTerm, isRoot, isTermObsolete
-
-
-
-
Constructor Detail
-
OntologyCardinalityRestrictionImpl
public OntologyCardinalityRestrictionImpl(com.hp.hpl.jena.ontology.Restriction resource, Set<com.hp.hpl.jena.ontology.Restriction> additionalRestrictions)
-
-
Method Detail
-
getCardinality
public int getCardinality()
- Specified by:
getCardinality
in interfaceOntologyCardinalityRestriction
-
getCardinalityType
public OntologyCardinalityRestriction.CardinalityType getCardinalityType()
- Specified by:
getCardinalityType
in interfaceOntologyCardinalityRestriction
-
toString
public String toString()
- Overrides:
toString
in classAbstractOntologyResource
-
-