|
Protégé-OWL 3.4 beta | ||||||||
| 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 |
|---|
rename |
| 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, assertFrameName, 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, 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 |
|---|
assertFrameName, isValid, moveDirectOwnSlotValue, rename |
| 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)
VisitableOWLModelVisitor,
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 Visitableaccept in class DefaultRDFIndividualvisitor - The visitor that will operate on this object.public boolean equalsStructurally(RDFObject object)
RDFObject
equalsStructurally in interface RDFObjectequalsStructurally in class DefaultRDFIndividualobject - 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 RDFSDatatypepublic String getBrowserText()
RDFResource
getBrowserText in interface edu.stanford.smi.protege.model.FramegetBrowserText in interface ProtegeInstancegetBrowserText in interface RDFObjectgetBrowserText in interface RDFResourcegetBrowserText in class edu.stanford.smi.protege.model.DefaultInstancepublic Object getDefaultValue()
RDFSDatatype
getDefaultValue in interface RDFSDatatypepublic Icon getIcon()
getIcon in interface edu.stanford.smi.protege.model.FramegetIcon in interface ProtegeInstancegetIcon in class DefaultRDFIndividualProtegeUI.getIcon(edu.stanford.smi.protegex.owl.model.RDFResource)public int getLength()
RDFSDatatype
getLength in interface RDFSDatatypepublic RDFSLiteral getMaxExclusive()
RDFSDatatype
getMaxExclusive in interface RDFSDatatypepublic RDFSLiteral getMaxInclusive()
RDFSDatatype
getMaxInclusive in interface RDFSDatatypepublic int getMaxLength()
RDFSDatatype
getMaxLength in interface RDFSDatatypepublic RDFSLiteral getMinExclusive()
RDFSDatatype
getMinExclusive in interface RDFSDatatypepublic RDFSLiteral getMinInclusive()
RDFSDatatype
getMinInclusive in interface RDFSDatatypepublic int getMinLength()
RDFSDatatype
getMinLength in interface RDFSDatatypepublic String getPattern()
RDFSDatatype
getPattern in interface RDFSDatatypepublic boolean isNumericDatatype()
RDFSDatatype
isNumericDatatype in interface RDFSDatatypepublic boolean isValidValue(RDFSLiteral object)
RDFSDatatype
isValidValue in interface RDFSDatatypeobject - the potential value
public static Map parse(OWLModel owlModel,
String expression)
|
Protégé-OWL 3.4 beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||