package org.apache.cayenne.crypto.db.auto; import org.apache.cayenne.CayenneDataObject; import org.apache.cayenne.exp.Property; /** * Class _Table1 was generated by Cayenne. * It is probably a good idea to avoid changing this class manually, * since it may be overwritten next time code is regenerated. * If you need to make any customizations, please use subclass. */ public abstract class _Table1 extends CayenneDataObject { private static final long serialVersionUID = 1L; public static final String ID_PK_COLUMN = "ID"; public static final Property<Integer> CRYPTO_INT = Property.create("cryptoInt", Integer.class); public static final Property<String> CRYPTO_STRING = Property.create("cryptoString", String.class); public static final Property<Integer> PLAIN_INT = Property.create("plainInt", Integer.class); public static final Property<String> PLAIN_STRING = Property.create("plainString", String.class); public void setCryptoInt(int cryptoInt) { writeProperty("cryptoInt", cryptoInt); } public int getCryptoInt() { Object value = readProperty("cryptoInt"); return (value != null) ? (Integer) value : 0; } public void setCryptoString(String cryptoString) { writeProperty("cryptoString", cryptoString); } public String getCryptoString() { return (String)readProperty("cryptoString"); } public void setPlainInt(int plainInt) { writeProperty("plainInt", plainInt); } public int getPlainInt() { Object value = readProperty("plainInt"); return (value != null) ? (Integer) value : 0; } public void setPlainString(String plainString) { writeProperty("plainString", plainString); } public String getPlainString() { return (String)readProperty("plainString"); } }