org.restlet.ext.openid
Class AttributeExchange

java.lang.Object
  extended by org.restlet.data.Metadata
      extended by org.restlet.ext.openid.AttributeExchange

public class AttributeExchange
extends Metadata

Describes an attributes exchange, also known as an AX.

Author:
Martin Svensson

Field Summary
static AttributeExchange COUNTRY
           
static AttributeExchange DOB
           
static AttributeExchange EMAIL
           
static AttributeExchange FIRST_NAME
           
static AttributeExchange FRIENDLY_NAME
           
static AttributeExchange FULL_NAME
           
static AttributeExchange GENDER
           
static AttributeExchange LANGUAGE
           
static AttributeExchange LAST_NAME
           
static AttributeExchange TIMEZONE
           
static AttributeExchange ZIP
           
 
Constructor Summary
AttributeExchange(String name, String schema, String description)
           
 
Method Summary
 boolean equals(Object object)
           
 Metadata getParent()
           
 String getSchema()
           
 int hashCode()
           
 boolean includes(Metadata included)
           
static AttributeExchange register(String name, String schema, String description)
           
 void setSchema(String schema)
           
static AttributeExchange valueOf(String name)
           
static AttributeExchange valueOfType(String schema)
           
 
Methods inherited from class org.restlet.data.Metadata
getDescription, getName, isCompatible, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

COUNTRY

public static final AttributeExchange COUNTRY

DOB

public static final AttributeExchange DOB

EMAIL

public static final AttributeExchange EMAIL

FIRST_NAME

public static final AttributeExchange FIRST_NAME

FRIENDLY_NAME

public static final AttributeExchange FRIENDLY_NAME

FULL_NAME

public static final AttributeExchange FULL_NAME

GENDER

public static final AttributeExchange GENDER

LANGUAGE

public static final AttributeExchange LANGUAGE

LAST_NAME

public static final AttributeExchange LAST_NAME

TIMEZONE

public static final AttributeExchange TIMEZONE

ZIP

public static final AttributeExchange ZIP
Constructor Detail

AttributeExchange

public AttributeExchange(String name,
                         String schema,
                         String description)
Method Detail

register

public static AttributeExchange register(String name,
                                         String schema,
                                         String description)

valueOf

public static AttributeExchange valueOf(String name)

valueOfType

public static AttributeExchange valueOfType(String schema)

equals

public boolean equals(Object object)
Overrides:
equals in class Metadata

getParent

public Metadata getParent()
Specified by:
getParent in class Metadata

getSchema

public String getSchema()

hashCode

public int hashCode()
Overrides:
hashCode in class Metadata

includes

public boolean includes(Metadata included)
Specified by:
includes in class Metadata

setSchema

public void setSchema(String schema)


Copyright © 2005-2013 Restlet.