Oracle NoSQL Database Examples
version 11gR2.2.0.26

externaltables
Class UserInfo

java.lang.Object
  extended by externaltables.UserInfo

 class UserInfo
extends Object

A simple class which represents a User in the External Tables Cookbook example.


Constructor Summary
UserInfo(String email)
          Constructs a user object with its unique identifier, the email address.
 
Method Summary
(package private)  String getAddress()
          Returns the address attribute.
(package private)  String getEmail()
          Returns the email identifier.
(package private)  char getGender()
          Returns the gender attribute.
(package private)  String getName()
          Returns the name attribute.
(package private)  String getPhone()
          Returns the phone attribute.
(package private)  Key getStoreKey()
          Returns a Key that can be used to write or read the UserInfo.
(package private)  Value getStoreValue()
          Serializes user info attributes into the byte array of a Value.
(package private)  void setAddress(String address)
          Changes the address attribute.
(package private)  void setGender(char gender)
          Changes the gender attribute.
(package private)  void setName(String name)
          Changes the name attribute.
(package private)  void setPhone(String phone)
          Changes the phone attribute.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserInfo

UserInfo(String email)
Constructs a user object with its unique identifier, the email address.

Method Detail

getEmail

String getEmail()
Returns the email identifier.


setName

void setName(String name)
Changes the name attribute.


getName

String getName()
Returns the name attribute.


setGender

void setGender(char gender)
Changes the gender attribute.


getGender

char getGender()
Returns the gender attribute.


setAddress

void setAddress(String address)
Changes the address attribute.


getAddress

String getAddress()
Returns the address attribute.


setPhone

void setPhone(String phone)
Changes the phone attribute.


getPhone

String getPhone()
Returns the phone attribute.


getStoreKey

Key getStoreKey()
Returns a Key that can be used to write or read the UserInfo.


getStoreValue

Value getStoreValue()
Serializes user info attributes into the byte array of a Value.


toString

public String toString()
Overrides:
toString in class Object

Oracle NoSQL Database Examples
version 11gR2.2.0.26

Copyright (c) 2011, 2013 Oracle and/or its affiliates. All rights reserved.