Enum Link.Relation
- java.lang.Object
- 
- java.lang.Enum<Link.Relation>
- 
- org.jclouds.openstack.v2_0.domain.Link.Relation
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<Link.Relation>
 - Enclosing class:
- Link
 
 public static enum Link.Relation extends Enum<Link.Relation> Relations associated with resources.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ALTERNATEBOOKMARKa permanent link to a resource that is appropriate for long term storage.DESCRIBEDBYNEXTIndicates that the link's context is a part of a series, and that the next in the series is the link target.PREVIOUSIndicates that the link's context is a part of a series, and that the previous in the series is the link target.SELFa versioned link to the resource.UNRECOGNIZEDthe value returned by the OpenStack service was not recognized.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Link.RelationfromValue(String v)Stringvalue()static Link.RelationvalueOf(String name)Returns the enum constant of this type with the specified name.static Link.Relation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
SELFpublic static final Link.Relation SELF a versioned link to the resource. These links should be used in cases where the link will be followed immediately.
 - 
BOOKMARKpublic static final Link.Relation BOOKMARK a permanent link to a resource that is appropriate for long term storage.
 - 
DESCRIBEDBYpublic static final Link.Relation DESCRIBEDBY 
 - 
NEXTpublic static final Link.Relation NEXT Indicates that the link's context is a part of a series, and that the next in the series is the link target.
 - 
PREVIOUSpublic static final Link.Relation PREVIOUS Indicates that the link's context is a part of a series, and that the previous in the series is the link target.
 - 
ALTERNATEpublic static final Link.Relation ALTERNATE 
 - 
UNRECOGNIZEDpublic static final Link.Relation UNRECOGNIZED the value returned by the OpenStack service was not recognized.
 
- 
 - 
Method Detail- 
valuespublic static Link.Relation[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Link.Relation c : Link.Relation.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static Link.Relation valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
valuepublic String value() 
 - 
fromValuepublic static Link.Relation fromValue(String v) 
 
- 
 
-