org.apache.openjpa.example.gallery.model
Class Location

java.lang.Object
  extended by org.apache.openjpa.example.gallery.model.Location

@Embeddable
public class Location
extends Object

Location embeddable with several BV constraints applied.


Constructor Summary
Location()
           
 
Method Summary
 String getCity()
           
 String getCountry()
           
 String getState()
           
 String getStreet()
           
 String getZipCode()
           
 void setCity(String city)
           
 void setCountry(String country)
           
 void setState(String state)
           
 void setStreet(String street)
           
 void setZipCode(String zipCode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Location

public Location()
Method Detail

setCity

public void setCity(String city)

getCity

public String getCity()

setStreet

public void setStreet(String street)

getStreet

public String getStreet()

setState

public void setState(String state)

getState

public String getState()

setCountry

public void setCountry(String country)

getCountry

public String getCountry()

setZipCode

public void setZipCode(String zipCode)

getZipCode

public String getZipCode()


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.