1 package org.objectstyle.cayenne.modeler.pref; 2 3 8 public class _DataMapDefaults extends org.objectstyle.cayenne.pref.PreferenceDetail { 9 10 public static final String GENERATE_PAIRS_PROPERTY = "generatePairs"; 11 public static final String OUTPUT_PATH_PROPERTY = "outputPath"; 12 public static final String SUBCLASS_TEMPLATE_PROPERTY = "subclassTemplate"; 13 public static final String SUPERCLASS_PACKAGE_SUFFIX_PROPERTY = "superclassPackageSuffix"; 14 public static final String SUPERCLASS_TEMPLATE_PROPERTY = "superclassTemplate"; 15 16 public static final String ID_PK_COLUMN = "id"; 17 18 public void setGeneratePairs(Boolean generatePairs) { 19 writeProperty("generatePairs", generatePairs); 20 } 21 public Boolean getGeneratePairs() { 22 return (Boolean )readProperty("generatePairs"); 23 } 24 25 26 public void setOutputPath(String outputPath) { 27 writeProperty("outputPath", outputPath); 28 } 29 public String getOutputPath() { 30 return (String )readProperty("outputPath"); 31 } 32 33 34 public void setSubclassTemplate(String subclassTemplate) { 35 writeProperty("subclassTemplate", subclassTemplate); 36 } 37 public String getSubclassTemplate() { 38 return (String )readProperty("subclassTemplate"); 39 } 40 41 42 public void setSuperclassPackageSuffix(String superclassPackageSuffix) { 43 writeProperty("superclassPackageSuffix", superclassPackageSuffix); 44 } 45 public String getSuperclassPackageSuffix() { 46 return (String )readProperty("superclassPackageSuffix"); 47 } 48 49 50 public void setSuperclassTemplate(String superclassTemplate) { 51 writeProperty("superclassTemplate", superclassTemplate); 52 } 53 public String getSuperclassTemplate() { 54 return (String )readProperty("superclassTemplate"); 55 } 56 57 58 } 59 | Popular Tags |