org.apache.olingo.odata2.ref.model
Class Room

java.lang.Object
  extended by org.apache.olingo.odata2.ref.model.Room

public class Room
extends Object


Constructor Summary
Room(int id, String name)
           
 
Method Summary
 boolean equals(Object obj)
           
 Building getBuilding()
           
 List<Employee> getEmployees()
           
 String getId()
           
 String getName()
           
 int getSeats()
           
 int getVersion()
           
 int hashCode()
           
 void setBuilding(Building building)
           
 void setName(String name)
           
 void setSeats(int seats)
           
 void setVersion(int version)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Room

public Room(int id,
            String name)
Method Detail

getId

public String getId()

getName

public String getName()

setName

public void setName(String name)

setSeats

public void setSeats(int seats)

getSeats

public int getSeats()

setVersion

public void setVersion(int version)

getVersion

public int getVersion()

setBuilding

public void setBuilding(Building building)

getBuilding

public Building getBuilding()

getEmployees

public List<Employee> getEmployees()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.