public class Relation
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static Relation | ALTERNATESignifies that the IRI in the value of the href attribute identifies an
 alternate version of the resource described by the containing element. | 
| static Relation | CURRENTSignifies that the IRI returns a feed document containing the most recent
 entries in the feed. | 
| static Relation | DESCRIBED_BYRelationship that asserts that resource B provides a description of
 resource A. | 
| static Relation | EDITSignifies that the IRI in the value of the href attribute identifies a
 resource that is able to edit the current resource. | 
| static Relation | EDIT_MEDIAAn IRI of an editable Media Resource. | 
| static Relation | ENCLOSURESignifies that the IRI in the value of the href attribute identifies a
 related resource that is potentially large in size and might require
 special handling. | 
| static Relation | FIRSTSignifies that the IRI in the value of the href attribute identifies the
 first resource in a series including the current resource. | 
| static Relation | HUBA URI for a hub that enables registration for real-time updates to the
 resource. | 
| static Relation | LASTSignifies that the IRI in the value of the href attribute identifies the
 last resource in a series including the current resource. | 
| static Relation | LAST_VERSIONWhen included on a versioned resource, this link points to a resource
 containing the latest (e.g., current) version. | 
| static Relation | LICENSESignifies that the IRI in the value of the href attribute identifies the
 resource describing the license. | 
| static Relation | NEXTSignifies that the IRI in the value of the href attribute identifies the
 next resource in a series including the current resource. | 
| static Relation | NEXT_ARCHIVESignifies that the IRI in the value of the href attribute identifies the
 immediately following archive document. | 
| static Relation | PAYMENTSignifies that the IRI in the value of the href attribute identifies
 where payment is accepted. | 
| static Relation | PREDECESSOR_VERSIONWhen included on a versioned resource, this link points to a resource
 containing the predecessor version in the version history. | 
| static Relation | PREVIOUSSignifies that the IRI in the value of the href attribute identifies the
 previous resource in a series including the current resource. | 
| static Relation | PREVIOUS_ARCHIVEA URI that refers to the immediately preceding archive document. | 
| static Relation | RELATEDSignifies that the IRI in the value of the href attribute identifies a
 resource related to the resource described by the containing element. | 
| static Relation | REPLIESSignifies that the IRI in the value of the href attribute identifies a
 resource where responses to an entry may be found. | 
| static Relation | SELFSignifies that the IRI in the value of the href attribute identifies a
 resource equivalent to the containing element. | 
| static Relation | SERVICESignifies that the IRI in the value of the href attribute identifies a
 resource that can be used to retrieve an Atom Publishing Protocol Service
 Document as defined by RFC 5023. | 
| static Relation | SUCCESSOR_VERSIONWhen included on a versioned resource, this link points to a resource
 containing the successor version in the version history. | 
| static Relation | UPA URI that refers to a parent document in a hierarchy of documents. | 
| static Relation | VERSION_HISTORYWhen included on a versioned resource, this link points to a resource
 containing the version history for this resource. | 
| static Relation | VIASignifies that the IRI in the value of the href attribute identifies a
 resource that is the source of the information provided in the containing
 element. | 
| static Relation | WORKING_COPYWhen included on a versioned resource, this link points to a working copy
 for this resource. | 
| static Relation | WORKING_COPY_OFWhen included on a working copy, this link points to the versioned
 resource from which this working copy was obtained. | 
| Constructor and Description | 
|---|
| Relation(java.lang.String name)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object object) | 
| java.lang.String | getName()Returns the name of the relation. | 
| int | hashCode() | 
| java.lang.String | toString() | 
| static java.lang.String | toString(Relation rel)Return a String object representing the specified Relation. | 
| static Relation | valueOf(java.lang.String rel)Parses a relation name into the equivalent item. | 
public static final Relation ALTERNATE
public static final Relation CURRENT
public static final Relation DESCRIBED_BY
public static final Relation EDIT
public static final Relation EDIT_MEDIA
public static final Relation ENCLOSURE
public static final Relation FIRST
public static final Relation HUB
public static final Relation LAST
public static final Relation LAST_VERSION
public static final Relation LICENSE
public static final Relation NEXT
public static final Relation NEXT_ARCHIVE
public static final Relation PAYMENT
public static final Relation PREDECESSOR_VERSION
public static final Relation PREVIOUS
public static final Relation PREVIOUS_ARCHIVE
public static final Relation RELATED
public static final Relation REPLIES
public static final Relation SELF
public static final Relation SERVICE
public static final Relation SUCCESSOR_VERSION
public static final Relation UP
public static final Relation VERSION_HISTORY
public static final Relation VIA
public static final Relation WORKING_COPY
public static final Relation WORKING_COPY_OF
public Relation(java.lang.String name)
name - The name of the relation.public static java.lang.String toString(Relation rel)
rel - The relation to be converted.public static Relation valueOf(java.lang.String rel)
rel - The relation name to parse.public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic java.lang.String getName()
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2005-2024 Restlet.