Class Address
- java.lang.Object
-
- org.hibernate.testing.orm.domain.contacts.Address
-
@Embeddable public class Address extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Address.Classification
static class
Address.PostalCode
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Address.Classification
getClassification()
String
getLine1()
String
getLine2()
Address.PostalCode
getPostalCode()
void
setClassification(Address.Classification classification)
void
setLine1(String line1)
void
setLine2(String line2)
void
setPostalCode(Address.PostalCode postalCode)
-
-
-
Constructor Detail
-
Address
public Address()
-
Address
public Address(String line1, int zip)
-
-
Method Detail
-
getClassification
public Address.Classification getClassification()
-
setClassification
public void setClassification(Address.Classification classification)
-
getLine1
public String getLine1()
-
setLine1
public void setLine1(String line1)
-
getLine2
public String getLine2()
-
setLine2
public void setLine2(String line2)
-
getPostalCode
public Address.PostalCode getPostalCode()
-
setPostalCode
public void setPostalCode(Address.PostalCode postalCode)
-
-