org.eclipse.lyo.oslc4j.core.model
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>
public class Link
- extends AbstractReifiedResource<URI>
Special OSLC link type. Differs from URI
since it can hold a label,
expressed in RDF using reification.
- See Also:
- OSLC Core Specification 2.0, Appendix C: Guidance on Links & Relationships
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Link
public Link()
Link
public Link(URI resource)
Link
public Link(URI resource,
String label)
getLabel
public String getLabel()
setLabel
public void setLabel(String label)
- Sets the link label.
- Parameters:
label
- the label
Copyright © 2013. All Rights Reserved.