org.openrdf.concepts.awol
Interface Link

All Superinterfaces:
Entity, FeedOrEntryOrLink, Resource, Statement

public interface Link
extends Statement, FeedOrEntryOrLink

see §4.2.7 of rfc 4287 spec. Note that the href, hreflang and lengtlength attributes of rfc 4287 have been moved to the content class and a content relation from the Link to a Content class has been made. The href is translated onto the :src relation of the Content class. A link is a reified relation between an entry an a content, for the purpose of adding some metadata such as a title. If it is a reified statement, it is a special type of such a statement, one that implies always the reified statement itself (see N3 rule)


Method Summary
 Set<RelationType> getAwolRels()
          see §4.2.7.2 of rfc 4287.
 Object getAwolSubject()
          the inverse of the :link relation, not specified in rfc 4287, but added here for convenience
 Content getAwolTo()
          the object of a link.
 void setAwolRels(Set<RelationType> value)
          see §4.2.7.2 of rfc 4287.
 void setAwolSubject(Object value)
          the inverse of the :link relation, not specified in rfc 4287, but added here for convenience
 void setAwolTo(Content value)
          the object of a link.
 
Methods inherited from interface org.openrdf.concepts.rdf.Statement
getRdfObject, getRdfPredicate, getRdfSubject, setRdfObject, setRdfPredicate, setRdfSubject
 
Methods inherited from interface org.openrdf.concepts.rdfs.Resource
getRdfsComment, getRdfsIsDefinedBy, getRdfsLabel, getRdfsMembers, getRdfsSeeAlso, getRdfTypes, getRdfValues, setRdfsComment, setRdfsIsDefinedBy, setRdfsLabel, setRdfsMembers, setRdfsSeeAlso, setRdfTypes, setRdfValues
 
Methods inherited from interface org.openrdf.elmo.Entity
getElmoManager, getQName
 
Methods inherited from interface org.openrdf.concepts.awol.FeedOrEntryOrLink
getAwolTitle, setAwolTitle
 

Method Detail

getAwolRels

Set<RelationType> getAwolRels()
see §4.2.7.2 of rfc 4287. The relationship type. The relationship type is a property that relates a :Version to a :Content


setAwolRels

void setAwolRels(Set<RelationType> value)
see §4.2.7.2 of rfc 4287. The relationship type. The relationship type is a property that relates a :Version to a :Content


getAwolSubject

Object getAwolSubject()
the inverse of the :link relation, not specified in rfc 4287, but added here for convenience


setAwolSubject

void setAwolSubject(Object value)
the inverse of the :link relation, not specified in rfc 4287, but added here for convenience


getAwolTo

Content getAwolTo()
the object of a link. We interpret here a Link to be a re-ified relation from a :Version to a :Content object. The relation is re-ified in order to add a :title relation to the link. This can probably usually be safely ignored


setAwolTo

void setAwolTo(Content value)
the object of a link. We interpret here a Link to be a re-ified relation from a :Version to a :Content object. The relation is re-ified in order to add a :title relation to the link. This can probably usually be safely ignored



Copyright © 2004-2007. All Rights Reserved.