|
Protégé-OWL 3.3.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.smi.protege.model.DefaultFrame
edu.stanford.smi.protege.model.DefaultInstance
edu.stanford.smi.protege.model.DefaultSimpleInstance
edu.stanford.smi.protegex.owl.model.impl.DefaultRDFIndividual
edu.stanford.smi.protegex.owl.model.impl.DefaultRDFSDatatype
public class DefaultRDFSDatatype
Constructor Summary | |
---|---|
DefaultRDFSDatatype()
|
|
DefaultRDFSDatatype(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.model.FrameID id)
|
Method Summary | |
---|---|
void |
accept(OWLModelVisitor visitor)
This method is provided to be used with the OWLModelVisitor ,
which is part of the visitor design pattern. |
boolean |
equalsStructurally(RDFObject object)
Determines whether or not the specified class is structurally equal to this class. |
RDFSDatatype |
getBaseDatatype()
If this is a user-defined datatype, then this method gets the restricted base type. |
String |
getBrowserText()
Gets a human-readable visual representation of this resource. |
Object |
getDefaultValue()
Creates a default value for this datatype (e.g. |
Icon |
getIcon()
|
int |
getLength()
Gets the value of the xsd:length facet of this (user-defined) datatype. |
RDFSLiteral |
getMaxExclusive()
Gets the value of the xsd:maxExclusive facet of this (user-defined) datatype. |
RDFSLiteral |
getMaxInclusive()
Gets the value of the xsd:maxInclusive facet of this (user-defined) datatype. |
int |
getMaxLength()
Gets the value of the xsd:maxLength facet of this (user-defined) datatype. |
RDFSLiteral |
getMinExclusive()
Gets the value of the xsd:minExclusive facet of this (user-defined) datatype. |
RDFSLiteral |
getMinInclusive()
Gets the value of the xsd:minInclusive facet of this (user-defined) datatype. |
int |
getMinLength()
Gets the value of the xsd:minLength facet of this (user-defined) datatype. |
String |
getPattern()
Gets the value of the xsd:pattern facet of this (user-defined) datatype. |
boolean |
isNumericDatatype()
Checks if this is a numeric type. |
boolean |
isValidValue(RDFSLiteral object)
Checks if a given would be a valid value for this property. |
static Map |
parse(OWLModel owlModel,
String expression)
|
Methods inherited from class edu.stanford.smi.protege.model.DefaultSimpleInstance |
---|
toString |
Methods inherited from class edu.stanford.smi.protege.model.DefaultInstance |
---|
addDirectType, addInstanceListener, copy, deepCopy, getDirectType, getDirectTypes, getOwnFacetValue, getOwnFacetValues, getReachableSimpleInstances, hasDirectType, hasType, moveDirectType, removeDirectType, removeInstanceListener, setDirectType, setDirectTypes, shallowCopy |
Methods inherited from class edu.stanford.smi.protege.model.DefaultFrame |
---|
addFrameListener, addOwnFacetValue, addOwnSlotValue, areValidOwnSlotValues, compareTo, delete, equals, equals, getDefaultKnowledgeBase, getDefiningProjectURI, getDirectOwnSlotValue, getDirectOwnSlotValues, getFrameID, getInvalidOwnSlotValuesText, getInvalidOwnSlotValueText, getKnowledgeBase, getName, getOwnSlotAllowsMultipleValues, getOwnSlotAndSubslotValues, getOwnSlotDefaultValues, getOwnSlotFacets, getOwnSlotFacetValues, getOwnSlots, getOwnSlotValue, getOwnSlotValueCount, getOwnSlotValues, getOwnSlotValueType, getProject, getReferences, getReferences, hashCode, hasOwnSlot, isBeingDeleted, isDeleted, isEditable, isIncluded, isSystem, isValid, isValidOwnSlotValue, isVisible, localize, markDeleted, markDeleting, moveDirectOwnSlotValue, removeFrameListener, removeOwnSlotValue, setDirectOwnSlotValue, setDirectOwnSlotValues, setDocumentation, setEditable, setIncluded, setName, setOwnFacetValue, setOwnFacetValues, setOwnSlotValue, setOwnSlotValues, setSystem, setVisible |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.stanford.smi.protege.model.Instance |
---|
moveDirectType |
Methods inherited from interface edu.stanford.smi.protege.model.Frame |
---|
isValid, moveDirectOwnSlotValue |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Constructor Detail |
---|
public DefaultRDFSDatatype(edu.stanford.smi.protege.model.KnowledgeBase kb, edu.stanford.smi.protege.model.FrameID id)
public DefaultRDFSDatatype()
Method Detail |
---|
public void accept(OWLModelVisitor visitor)
Visitable
OWLModelVisitor
,
which is part of the visitor design pattern. By implementing this method,
instances of the implementing class are stating that they can accept an
OWLModelVisitor
accept
in interface Visitable
accept
in class DefaultRDFIndividual
visitor
- The visitor that will operate on this object.public boolean equalsStructurally(RDFObject object)
RDFObject
equalsStructurally
in interface RDFObject
equalsStructurally
in class DefaultRDFIndividual
object
- The class to test against.
true
if the class is structurally equal
to this, false
if the class is not structurally
equal to this.public RDFSDatatype getBaseDatatype()
RDFSDatatype
getBaseDatatype
in interface RDFSDatatype
public String getBrowserText()
RDFResource
getBrowserText
in interface edu.stanford.smi.protege.model.Frame
getBrowserText
in interface ProtegeInstance
getBrowserText
in interface RDFObject
getBrowserText
in interface RDFResource
getBrowserText
in class edu.stanford.smi.protege.model.DefaultInstance
public Object getDefaultValue()
RDFSDatatype
getDefaultValue
in interface RDFSDatatype
public Icon getIcon()
getIcon
in interface edu.stanford.smi.protege.model.Frame
getIcon
in interface ProtegeInstance
getIcon
in class DefaultRDFIndividual
ProtegeUI.getIcon(edu.stanford.smi.protegex.owl.model.RDFResource)
public int getLength()
RDFSDatatype
getLength
in interface RDFSDatatype
public RDFSLiteral getMaxExclusive()
RDFSDatatype
getMaxExclusive
in interface RDFSDatatype
public RDFSLiteral getMaxInclusive()
RDFSDatatype
getMaxInclusive
in interface RDFSDatatype
public int getMaxLength()
RDFSDatatype
getMaxLength
in interface RDFSDatatype
public RDFSLiteral getMinExclusive()
RDFSDatatype
getMinExclusive
in interface RDFSDatatype
public RDFSLiteral getMinInclusive()
RDFSDatatype
getMinInclusive
in interface RDFSDatatype
public int getMinLength()
RDFSDatatype
getMinLength
in interface RDFSDatatype
public String getPattern()
RDFSDatatype
getPattern
in interface RDFSDatatype
public boolean isNumericDatatype()
RDFSDatatype
isNumericDatatype
in interface RDFSDatatype
public boolean isValidValue(RDFSLiteral object)
RDFSDatatype
isValidValue
in interface RDFSDatatype
object
- the potential value
public static Map parse(OWLModel owlModel, String expression)
|
Protégé-OWL 3.3.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |