|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.forth.ics.rdfsuite.swkm.model.impl.RDF_Resource
gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Container
public class RDF_Container
| Field Summary | |
|---|---|
static int |
ALTERNATIVE
|
static int |
BAG
|
protected static org.apache.log4j.Logger |
log
|
static int |
SEQUENCE
|
| Fields inherited from class gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Resource |
|---|
column, comments, isDefinedBys, labels, line, local_name, namespace, seeAlsos, types, uri |
| Constructor Summary | |
|---|---|
RDF_Container(java.lang.String uri,
int kind,
IRDF_Model model)
|
|
| Method Summary | |
|---|---|
java.util.Collection<IRDF_Literal> |
getComments()
Retrieves all the Comments defined for this RDF_Resource |
java.util.Collection<IRDF_Comment> |
getCommentsTriples()
Retrieves all the RDF_Comment triples defined for this RDF_Resource |
java.util.Collection<IRDF_Resource> |
getIsDefinedBys()
Retrieves all the isDefinedBys defined for this RDF_Resource |
java.util.Collection<IRDF_IsDefinedBy> |
getIsDefinedBysTriples()
Retrieves all the RDF_IsDefinedBy triples defined for this RDF_Resource |
int |
getKind()
This method retrieves the kind of the Container |
java.util.Collection<IRDF_Literal> |
getLabels()
Retrieves all the labels defined for this RDF_Resource |
java.util.Collection<IRDF_Label> |
getLabelsTriples()
Retrieves all the RDF_Label triples defined for this RDF_Resource |
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()
|
java.util.Collection<IRDF_Resource> |
getSeeAlsos()
Adds an label for this IRDF_Resource |
java.util.Collection<IRDF_SeeAlso> |
getSeeAlsosTriples()
Retrieves all the RDF_SeeAlso triples defined for this RDF_Resource |
java.util.Collection<IRDF_Resource> |
getTypes()
Retrieves the types defined for this resource from the model (Depending to the resource its type may be a metaclass, a class or a property) |
java.util.Collection<IRDF_Type> |
getTypesTriples()
Retrieves the type triples defined for this resource from the model |
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 class gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Resource |
|---|
getAllTypes, getColumn, getLine, getLocalName, getNamespace, getNamespacePart, getURI, hasTypeOf, setColumn, setLine, setLocalName, setNamespace, setURI, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface gr.forth.ics.rdfsuite.swkm.model.IRDF_Resource |
|---|
getAllTypes, getColumn, getLine, getLocalName, getNamespace, getNamespacePart, getURI, hasTypeOf, setColumn, setLine, setLocalName, setNamespace, setURI, toString |
| Field Detail |
|---|
public static final int BAG
public static final int SEQUENCE
public static final int ALTERNATIVE
protected static final org.apache.log4j.Logger log
| Constructor Detail |
|---|
public RDF_Container(java.lang.String uri,
int kind,
IRDF_Model model)
uri - | Method Detail |
|---|
public int getKind()
IRDF_Container
getKind in interface IRDF_Containerpublic java.lang.Object getMember(java.lang.String member_uri)
IRDF_Container
getMember in interface IRDF_Containermember_uri - The URI of the member of the Container that is looked for
public IRDF_Member getMemberTriple(java.lang.String member_uri)
IRDF_Container
getMemberTriple in interface IRDF_Containermember_uri - The URI of the member of the Container that is looked for
public java.util.Collection<IRDF_Resource> getMembers()
IRDF_Container
getMembers in interface IRDF_Containerpublic java.util.Collection<IRDF_Member> getMembersTriples()
IRDF_Container
getMembersTriples in interface IRDF_Containerpublic boolean hasMember(java.lang.String member_uri)
IRDF_Container
hasMember in interface IRDF_Containermember_uri - The uri of the Resource that is looked for in the Container
public boolean isAlternative()
IRDF_Container
isAlternative in interface IRDF_Containerpublic boolean isBag()
IRDF_Container
isBag in interface IRDF_Containerpublic boolean isSequence()
IRDF_Container
isSequence in interface IRDF_Containerpublic void setKind(int kind)
IRDF_Container
setKind in interface IRDF_Containerkind - The kind to set the Container,either 0 for"BAG",1 for "SEQUENCE"
or 2 for "ALTERNATIVE"public java.util.Collection<IRDF_Resource> getTypes()
IRDF_Resource
getTypes in interface IRDF_ResourcegetTypes in class RDF_Resourcepublic java.util.Collection<IRDF_Type> getTypesTriples()
IRDF_Resource
getTypesTriples in interface IRDF_ResourcegetTypesTriples in class RDF_Resourcepublic java.util.Collection<IRDF_Literal> getComments()
IRDF_Resource
getComments in interface IRDF_ResourcegetComments in class RDF_Resourcepublic java.util.Collection<IRDF_Comment> getCommentsTriples()
IRDF_Resource
getCommentsTriples in interface IRDF_ResourcegetCommentsTriples in class RDF_Resourcepublic java.util.Collection<IRDF_Resource> getIsDefinedBys()
IRDF_Resource
getIsDefinedBys in interface IRDF_ResourcegetIsDefinedBys in class RDF_Resourcepublic java.util.Collection<IRDF_IsDefinedBy> getIsDefinedBysTriples()
IRDF_Resource
getIsDefinedBysTriples in interface IRDF_ResourcegetIsDefinedBysTriples in class RDF_Resourcepublic java.util.Collection<IRDF_Literal> getLabels()
IRDF_Resource
getLabels in interface IRDF_ResourcegetLabels in class RDF_Resourcepublic java.util.Collection<IRDF_Label> getLabelsTriples()
IRDF_Resource
getLabelsTriples in interface IRDF_ResourcegetLabelsTriples in class RDF_Resourcepublic java.util.Collection<IRDF_Resource> getSeeAlsos()
IRDF_Resource
getSeeAlsos in interface IRDF_ResourcegetSeeAlsos in class RDF_Resourcepublic java.util.Collection<IRDF_SeeAlso> getSeeAlsosTriples()
IRDF_Resource
getSeeAlsosTriples in interface IRDF_ResourcegetSeeAlsosTriples in class RDF_Resourcepublic IRDF_Model getModel()
getModel in interface IRDF_Container
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||