Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`Link()`
`Link(URI resource)`
`Link(URI resource, String label)`

Method Summary
`String` | `getLabel()`
`void` | `setLabel(String label)` Sets the link label.

Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractReifiedResource
`getValue, setValue`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Link

    public Link()

### Link

    public Link(URI resource)

### Link

    public Link(URI resource,
                String label)

Method Detail

### getLabel

    public String getLabel()

### setLabel

    public void setLabel(String label)

  Sets the link label.

  Parameters:
    `label` - the label

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2013. All Rights Reserved.