|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRDF_Container
Container represents a collection of Resources or Literals. A kind attribute is attached to the Container with value either 1 for "BAG",2 for "SEQUENCE" or 3 for "ALTERNATIVE"
| Method Summary | |
|---|---|
int |
getKind()
This method retrieves the kind of the Container |
java.lang.Object |
getMember(java.lang.String member_uri)
This method retrieves the member of the Container with the given URI |
java.util.Collection<IRDF_Resource> |
getMembers()
Retrieves the members of this container |
java.util.Collection<IRDF_Member> |
getMembersTriples()
Retrieves the member triples of this container |
IRDF_Member |
getMemberTriple(java.lang.String member_uri)
This method retrieves the member triple of the Container with the given URI |
IRDF_Model |
getModel()
|
boolean |
hasMember(java.lang.String member_uri)
This method opines whether the Resource with the given uri is a member of the Container |
boolean |
isAlternative()
This method opines whether the Container represents an Alternative |
boolean |
isBag()
This method opines whether the Container represents a Bag |
boolean |
isSequence()
This method opines whether the Container represents a Sequence |
void |
setKind(int kind)
This method sets the kind of the Container |
| Methods inherited from interface gr.forth.ics.rdfsuite.swkm.model.IRDF_Resource |
|---|
getAllTypes, getColumn, getComments, getCommentsTriples, getIsDefinedBys, getIsDefinedBysTriples, getLabels, getLabelsTriples, getLine, getLocalName, getNamespace, getNamespacePart, getSeeAlsos, getSeeAlsosTriples, getTypes, getTypesTriples, getURI, hasTypeOf, setColumn, setLine, setLocalName, setNamespace, setURI, toString |
| Method Detail |
|---|
int getKind()
void setKind(int kind)
kind - The kind to set the Container,either 0 for"BAG",1 for "SEQUENCE"
or 2 for "ALTERNATIVE"java.util.Collection<IRDF_Member> getMembersTriples()
IRDF_Member getMemberTriple(java.lang.String member_uri)
member_uri - The URI of the member of the Container that is looked for
java.util.Collection<IRDF_Resource> getMembers()
java.lang.Object getMember(java.lang.String member_uri)
member_uri - The URI of the member of the Container that is looked for
boolean hasMember(java.lang.String member_uri)
member_uri - The uri of the Resource that is looked for in the Container
boolean isBag()
boolean isSequence()
boolean isAlternative()
IRDF_Model getModel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||