org.qi4j.library.rest.common.link
Interface Link

All Superinterfaces:
Composite, ValueComposite

public interface Link
extends ValueComposite

Link value


Method Summary
 Property<java.lang.String> classes()
          These are the classes of the link, typically to help categorize the link.
 Property<java.lang.String> href()
          This is the href of the entity, relative to the producer of the LinkValue
 Property<java.lang.String> id()
          This is typically the id of the entity
 Property<java.lang.String> rel()
          This is the type of the link, typically to help differentiate between different types of resources.
 Property<java.lang.String> text()
          This is typically the description of the entity
 

Method Detail

text

@Optional
Property<java.lang.String> text()
This is typically the description of the entity

Returns:
The text attribute of the Link.

id

Property<java.lang.String> id()
This is typically the id of the entity

Returns:
The id attribute of the Link.

href

Property<java.lang.String> href()
This is the href of the entity, relative to the producer of the LinkValue

Returns:
The href attribute of the Link.

rel

@Optional
Property<java.lang.String> rel()
This is the type of the link, typically to help differentiate between different types of resources.

Returns:
The rel attribute of the Link.

classes

@Optional
Property<java.lang.String> classes()
These are the classes of the link, typically to help categorize the link. Space-separated list.

Returns:
A space-separated list of classes of the Link.