Jalapeño Tutorial
Another Example: Address.java
[Back] [Next]
   
Server:docs2
Instance:LATEST
User:UnknownUser
 
-
Search:    

package contacts;
import com.jalapeno.annotations.*;

@Access (type = AccessType.PROPERTY)
@Embeddable
public class Address{
    private String mCity;
    private String mState;
    private String mStreet;
    private String mZip;

    public Address() {
    }
    public String getCity()  {
        return mCity;
    }
    public void setCity(String value)  {
        mCity = value;
    }
    public String getState()  {
        return mState;
    }
    public void setState(String value)  {
        mState = value;
    }
    public String getStreet()  {
        return mStreet;
    }
    public void setStreet(String value)  {
        mStreet = value;
    }
    public String getZip()  {
        return mZip;
    }
    public void setZip(String value)  {
        mZip = value;
    }
}