org.errai.samples.serialization.client.shared
Class Record

java.lang.Object
  extended by org.errai.samples.serialization.client.shared.Record

public class Record
extends Object


Constructor Summary
Record()
           
Record(int recordId, String name, float balance, Date accountOpened, RecordType type, Item[] stuff, String[][] properties)
           
 
Method Summary
 Date getAccountOpened()
           
 float getBalance()
           
 String getName()
           
 Map<String,String> getProperties()
           
 int getRecordId()
           
 Set<Item> getStuff()
           
 RecordType getType()
           
 void setAccountOpened(Date accountOpened)
           
 void setBalance(float balance)
           
 void setName(String name)
           
 void setProperties(Map<String,String> properties)
           
 void setRecordId(int recordId)
           
 void setStuff(Set<Item> stuff)
           
 void setType(RecordType type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Record

public Record()

Record

public Record(int recordId,
              String name,
              float balance,
              Date accountOpened,
              RecordType type,
              Item[] stuff,
              String[][] properties)
Method Detail

getRecordId

public int getRecordId()

setRecordId

public void setRecordId(int recordId)

getName

public String getName()

setName

public void setName(String name)

getBalance

public float getBalance()

setBalance

public void setBalance(float balance)

getAccountOpened

public Date getAccountOpened()

setAccountOpened

public void setAccountOpened(Date accountOpened)

getType

public RecordType getType()

setType

public void setType(RecordType type)

getStuff

public Set<Item> getStuff()

setStuff

public void setStuff(Set<Item> stuff)

getProperties

public Map<String,String> getProperties()

setProperties

public void setProperties(Map<String,String> properties)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.