org.wso2.carbon.registry.social.api.people.userprofile.model
Enum Url.Field

java.lang.Object
  extended by java.lang.Enum<Url.Field>
      extended by org.wso2.carbon.registry.social.api.people.userprofile.model.Url.Field
All Implemented Interfaces:
Serializable, Comparable<Url.Field>
Enclosing interface:
Url

public static enum Url.Field
extends Enum<Url.Field>

An enumeration of the field names used in Url objects.


Enum Constant Summary
LINK_TEXT
          the name of the linkText field.
TYPE
          the name of the type field.
VALUE
          the name of the value field.
 
Method Summary
 String toString()
          The string representation of the enum.
static Url.Field valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Url.Field[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

VALUE

public static final Url.Field VALUE
the name of the value field.


LINK_TEXT

public static final Url.Field LINK_TEXT
the name of the linkText field.


TYPE

public static final Url.Field TYPE
the name of the type field.

Method Detail

values

public static Url.Field[] 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 (Url.Field c : Url.Field.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Url.Field 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

toString

public String toString()
The string representation of the enum.

Overrides:
toString in class Enum<Url.Field>


Copyright © 2015 WSO2. All Rights Reserved.