Class Link
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractReifiedResource<URI>
org.eclipse.lyo.oslc4j.core.model.Link
- All Implemented Interfaces:
IReifiedResource<URI>
Special OSLC link type. Differs from
URI
since it can hold a label,
expressed in RDF using reification.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractReifiedResource
getValue, setValue
-
Constructor Details
-
Link
public Link() -
Link
-
Link
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
getLabel
@OslcName("title") @OslcPropertyDefinition("http://purl.org/dc/terms/title") public String getLabel() -
setLabel
Sets the link label.- Parameters:
label
- the label
-
toString
-