Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

その他の例 : Address.java


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;
    }
}

FeedbackOpens in a new tab