|
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.DefaultRDFList
public class DefaultRDFList
| Constructor Summary | |
|---|---|
DefaultRDFList()
|
|
DefaultRDFList(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. |
void |
append(Object value)
Appends a value to this list. |
boolean |
contains(Object value)
Checks whether a given value is among the entries in this list. |
boolean |
equalsStructurally(RDFObject object)
Determines whether or not the specified class is structurally equal to this class. |
String |
getBrowserText()
Gets a human-readable visual representation of this resource. |
Object |
getFirst()
|
RDFSLiteral |
getFirstLiteral()
Gets the rdf:first value of this as an RDFSLiteral. |
RDFList |
getRest()
|
RDFList |
getStart()
Gets the start of the RDFList chain containing this. |
List |
getValueLiterals()
Gets the values in this list as RDFSLiterals. |
List |
getValues()
Gets the values in this list. |
boolean |
isClosed()
Checks whether this is eventually terminated with an rdf:rest rdf:nil triple. |
static void |
removeListValue(RDFResource resource,
RDFProperty property,
Object value)
|
static void |
removeListValue(RDFResource resource,
RDFProperty property,
RDFList li,
int index)
|
void |
setFirst(Object value)
|
void |
setRest(RDFList rest)
|
int |
size()
|
| 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 DefaultRDFList(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.model.FrameID id)
public DefaultRDFList()
| 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 void append(Object value)
RDFList
append in interface RDFListvalue - the value to append a list node forpublic boolean contains(Object value)
RDFList
contains in interface RDFListvalue - the value to look for
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 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 getFirst()
getFirst in interface RDFListpublic RDFSLiteral getFirstLiteral()
RDFList
getFirstLiteral in interface RDFListpublic List getValueLiterals()
RDFList
getValueLiterals in interface RDFListpublic RDFList getRest()
getRest in interface RDFListpublic RDFList getStart()
RDFList
getStart in interface RDFListpublic List getValues()
RDFList
getValues in interface RDFListpublic boolean isClosed()
RDFList
isClosed in interface RDFList
public static void removeListValue(RDFResource resource,
RDFProperty property,
Object value)
public static void removeListValue(RDFResource resource,
RDFProperty property,
RDFList li,
int index)
public void setFirst(Object value)
setFirst in interface RDFListpublic void setRest(RDFList rest)
setRest in interface RDFListpublic int size()
size in interface RDFList
|
Protégé-OWL 3.4 beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||