com.ibm.soa.parlayx21.presence
Class PlaceValue

java.lang.Object
  extended by com.ibm.soa.parlayx21.presence.PlaceValue
All Implemented Interfaces:
java.io.Serializable

public class PlaceValue
extends java.lang.Object
implements java.io.Serializable

This enumeration shows the type of the user's current location. If the place type is unknown, the attribute value will be PlaceNone, meaning the attribute was not set. If the user in a place not in this list, the value will be set to PlaceOther.

See Also:
Serialized Form

Field Summary
static java.lang.String _Aircraft
           
static java.lang.String _Airport
           
static java.lang.String _Bus
           
static java.lang.String _Home
           
static java.lang.String _Hotel
           
static java.lang.String _Industrial
           
static java.lang.String _Mall
           
static java.lang.String _Noisy
           
static java.lang.String _Office
           
static java.lang.String _Outdoors
           
static java.lang.String _PlaceNone
           
static java.lang.String _PlaceOther
           
static java.lang.String _PublicPlace
           
static java.lang.String _PublicTransport
           
static java.lang.String _Quiet
           
static java.lang.String _Restaurant
           
static java.lang.String _School
           
static java.lang.String _Ship
           
static java.lang.String _Station
           
static java.lang.String _Street
           
static java.lang.String _Theatre
           
static java.lang.String _Train
           
static PlaceValue Aircraft
          The user is on an aircraft.
static PlaceValue Airport
          The user is in an airport.
static PlaceValue Bus
          The user is in a bus.
static PlaceValue Home
          The user is at home.
static PlaceValue Hotel
          The user is in a hotel.
static PlaceValue Industrial
          The user is in an industrial building.
static PlaceValue Mall
          The user is in a mall.
static PlaceValue Noisy
          The user is in a noisy area.
static PlaceValue Office
          The user is in an office.
static PlaceValue Outdoors
          Generally outdoors.
static PlaceValue PlaceNone
          Not set.
static PlaceValue PlaceOther
          The user is in a kind of place not listed here.
static PlaceValue PublicPlace
          The user is in a public place.
static PlaceValue PublicTransport
          The user is on public transport.
static PlaceValue Quiet
          The user is in a quiet area.
static PlaceValue Restaurant
          The user is in a restaurant / bar / and others
static PlaceValue School
          The user is at school.
static PlaceValue Ship
          The user is on a ship.
static PlaceValue Station
          The user is in a bus- or railway station.
static PlaceValue Street
          Walking on the street.
static PlaceValue Theatre
           
static PlaceValue Train
          The user is in a train.
 
Constructor Summary
protected PlaceValue(java.lang.String value)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static PlaceValue fromString(java.lang.String value)
           
static PlaceValue fromValue(java.lang.String value)
           
 java.lang.String getValue()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_PlaceNone

public static final java.lang.String _PlaceNone
See Also:
Constant Field Values

_Home

public static final java.lang.String _Home
See Also:
Constant Field Values

_Office

public static final java.lang.String _Office
See Also:
Constant Field Values

_PublicTransport

public static final java.lang.String _PublicTransport
See Also:
Constant Field Values

_Street

public static final java.lang.String _Street
See Also:
Constant Field Values

_Outdoors

public static final java.lang.String _Outdoors
See Also:
Constant Field Values

_PublicPlace

public static final java.lang.String _PublicPlace
See Also:
Constant Field Values

_Hotel

public static final java.lang.String _Hotel
See Also:
Constant Field Values

_Theatre

public static final java.lang.String _Theatre
See Also:
Constant Field Values

_Restaurant

public static final java.lang.String _Restaurant
See Also:
Constant Field Values

_School

public static final java.lang.String _School
See Also:
Constant Field Values

_Industrial

public static final java.lang.String _Industrial
See Also:
Constant Field Values

_Quiet

public static final java.lang.String _Quiet
See Also:
Constant Field Values

_Noisy

public static final java.lang.String _Noisy
See Also:
Constant Field Values

_Aircraft

public static final java.lang.String _Aircraft
See Also:
Constant Field Values

_Ship

public static final java.lang.String _Ship
See Also:
Constant Field Values

_Bus

public static final java.lang.String _Bus
See Also:
Constant Field Values

_Station

public static final java.lang.String _Station
See Also:
Constant Field Values

_Mall

public static final java.lang.String _Mall
See Also:
Constant Field Values

_Airport

public static final java.lang.String _Airport
See Also:
Constant Field Values

_Train

public static final java.lang.String _Train
See Also:
Constant Field Values

_PlaceOther

public static final java.lang.String _PlaceOther
See Also:
Constant Field Values

PlaceNone

public static final PlaceValue PlaceNone
Not set.


Home

public static final PlaceValue Home
The user is at home.


Office

public static final PlaceValue Office
The user is in an office.


PublicTransport

public static final PlaceValue PublicTransport
The user is on public transport.


Street

public static final PlaceValue Street
Walking on the street.


Outdoors

public static final PlaceValue Outdoors
Generally outdoors.


PublicPlace

public static final PlaceValue PublicPlace
The user is in a public place.


Hotel

public static final PlaceValue Hotel
The user is in a hotel.


Theatre

public static final PlaceValue Theatre

Restaurant

public static final PlaceValue Restaurant
The user is in a restaurant / bar / and others


School

public static final PlaceValue School
The user is at school.


Industrial

public static final PlaceValue Industrial
The user is in an industrial building.


Quiet

public static final PlaceValue Quiet
The user is in a quiet area.


Noisy

public static final PlaceValue Noisy
The user is in a noisy area.


Aircraft

public static final PlaceValue Aircraft
The user is on an aircraft.


Ship

public static final PlaceValue Ship
The user is on a ship.


Bus

public static final PlaceValue Bus
The user is in a bus.


Station

public static final PlaceValue Station
The user is in a bus- or railway station.


Mall

public static final PlaceValue Mall
The user is in a mall.


Airport

public static final PlaceValue Airport
The user is in an airport.


Train

public static final PlaceValue Train
The user is in a train.


PlaceOther

public static final PlaceValue PlaceOther
The user is in a kind of place not listed here.

Constructor Detail

PlaceValue

protected PlaceValue(java.lang.String value)
Method Detail

getValue

public java.lang.String getValue()

fromValue

public static PlaceValue fromValue(java.lang.String value)
                            throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

fromString

public static PlaceValue fromString(java.lang.String value)
                             throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003 IBM Corp. All Rights Reserved.