edu.stanford.smi.protegex.storage.rdf.roundtrip
Class RDFRTSlotRestriction
java.lang.Object
|
+--edu.stanford.smi.protegex.storage.rdf.roundtrip.RDFRTSlotRestriction
- All Implemented Interfaces:
- RDFRTConstants, WalkerSlotRestriction
- public class RDFRTSlotRestriction
- extends Object
- implements WalkerSlotRestriction, RDFRTConstants
Fields inherited from interface edu.stanford.smi.protegex.storage.rdf.roundtrip.RDFRTConstants |
ABSTRACT, ALLOWEDCLASSES, ALLOWEDPARENTS, ALLOWEDVALUES, ANY, ASSOCIATEDFACET, BOOLEAN, CLS, DEFAULTVALUES, DOMAIN, FLOAT, HASFACET, INSTANCE, INTEGER, INVERSEPROPERTY, MAXCARDINALITY, MAXVALUE, MINCARDINALITY, MINVALUE, OVERRIDDENPROPERTY, OVERRIDINGPROPERTY, RANGE, ROLE, STRING, SYMBOL, SYSTEMNAMESPACE, VALUES |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setAllowedParents
public void setAllowedParents(Collection allowedParents)
setAllowedValues
public void setAllowedValues(Collection allowedValues)
setDefaultValues
public void setDefaultValues(Collection defaultValues)
setValues
public void setValues(Collection values)
setMinimumCardinality
public void setMinimumCardinality(int n)
setMaximumCardinality
public void setMaximumCardinality(int n)
setMinimumValue
public void setMinimumValue(String v)
setMaximumValue
public void setMaximumValue(String v)
putFacetOverride
public void putFacetOverride(WalkerFrame facet,
Collection values)
isAny
public boolean isAny()
- Specified by:
isAny
in interface WalkerSlotRestriction
isBoolean
public boolean isBoolean()
- Specified by:
isBoolean
in interface WalkerSlotRestriction
isClass
public boolean isClass()
- Specified by:
isClass
in interface WalkerSlotRestriction
isFloat
public boolean isFloat()
- Specified by:
isFloat
in interface WalkerSlotRestriction
isInstance
public boolean isInstance()
- Specified by:
isInstance
in interface WalkerSlotRestriction
isInteger
public boolean isInteger()
- Specified by:
isInteger
in interface WalkerSlotRestriction
isString
public boolean isString()
- Specified by:
isString
in interface WalkerSlotRestriction
isSymbol
public boolean isSymbol()
- Specified by:
isSymbol
in interface WalkerSlotRestriction
getAllowedClass
public WalkerFrame getAllowedClass()
- Specified by:
getAllowedClass
in interface WalkerSlotRestriction
getAllowedClasses
public Collection getAllowedClasses()
- Specified by:
getAllowedClasses
in interface WalkerSlotRestriction
getAllowedParents
public Collection getAllowedParents()
- Specified by:
getAllowedParents
in interface WalkerSlotRestriction
getAllowedValues
public Collection getAllowedValues()
- Specified by:
getAllowedValues
in interface WalkerSlotRestriction
getValues
public Collection getValues()
- Specified by:
getValues
in interface WalkerSlotRestriction
getDefaultValues
public Collection getDefaultValues()
- Specified by:
getDefaultValues
in interface WalkerSlotRestriction
getMinimumCardinality
public int getMinimumCardinality()
- Specified by:
getMinimumCardinality
in interface WalkerSlotRestriction
getMaximumCardinality
public int getMaximumCardinality()
- Specified by:
getMaximumCardinality
in interface WalkerSlotRestriction
getMinimumValue
public String getMinimumValue()
- Specified by:
getMinimumValue
in interface WalkerSlotRestriction
getMaximumValue
public String getMaximumValue()
- Specified by:
getMaximumValue
in interface WalkerSlotRestriction
getFacetOverrides
public Map getFacetOverrides()
- Specified by:
getFacetOverrides
in interface WalkerSlotRestriction
Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.