|
|||||||||||
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
Field Summary |
Fields inherited from class edu.stanford.smi.protege.model.DefaultFrame |
|
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 |
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, readExternal, removeFrameListener, removeOwnSlotValue, setDirectOwnSlotValue, setDirectOwnSlotValues, setDocumentation, setEditable, setIncluded, setName, setOwnFacetValue, setOwnFacetValues, setOwnSlotValue, setOwnSlotValues, setSystem, setVisible, writeExternal |
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 DefaultRDFList(edu.stanford.smi.protege.model.KnowledgeBase kb, edu.stanford.smi.protege.model.FrameID id)
public DefaultRDFList()
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
public void append(Object value)
RDFList
append
in interface RDFList
value
- the value to append a list node forpublic boolean contains(Object value)
RDFList
contains
in interface RDFList
value
- the value to look for
public boolean equalsStructurally(RDFObject object)
RDFObject
equalsStructurally
in interface RDFObject
equalsStructurally
in class DefaultRDFIndividual
public String getBrowserText()
RDFResource
getBrowserText
in interface RDFResource
public Object getFirst()
getFirst
in interface RDFList
public RDFSLiteral getFirstLiteral()
RDFList
getFirstLiteral
in interface RDFList
public List getValueLiterals()
RDFList
getValueLiterals
in interface RDFList
public RDFList getRest()
getRest
in interface RDFList
public RDFList getStart()
RDFList
getStart
in interface RDFList
public List getValues()
RDFList
getValues
in interface RDFList
public 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 RDFList
public void setRest(RDFList rest)
setRest
in interface RDFList
public int size()
size
in interface RDFList
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |