1 4 package com.openedit.store.products; 5 6 import java.text.DateFormat ; 7 8 public class Detail 9 { 10 String fieldId; 11 String fieldExternalId; 12 13 DateFormat fieldDateFormat; 14 String fieldText; 15 boolean fieldIndex; boolean fieldDate; 17 boolean fieldIsBoolean; 18 boolean fieldIsStored; 19 boolean fieldIsImage; 20 boolean fieldEditable = false; 21 boolean fieldList; 22 boolean fieldNumber; 23 24 26 boolean fieldKeyword; 28 public String getId() 29 { 30 return fieldId; 31 } 32 public void setId(String inId) 33 { 34 fieldId = inId; 35 } 36 public boolean isIndex() 37 { 38 return fieldIndex; 39 } 40 public void setIndex(boolean inIndex) 41 { 42 fieldIndex = inIndex; 43 } 44 public boolean isDate() 45 { 46 return fieldDate; 47 } 48 public void setIsDate(boolean inDate) 49 { 50 fieldDate = inDate; 51 } 52 public DateFormat getDateFormat() 53 { 54 return fieldDateFormat; 55 } 56 public void setDateFormat(DateFormat inDateFormat) 57 { 58 fieldDateFormat = inDateFormat; 59 } 60 public String getText() 61 { 62 return fieldText; 63 } 64 public void setText(String inText) 65 { 66 fieldText = inText; 67 } 68 public boolean isBoolean() 69 { 70 return fieldIsBoolean; 71 } 72 public void setBoolean(boolean inIsBoolean) 73 { 74 fieldIsBoolean = inIsBoolean; 75 } 76 public boolean isKeyword() 77 { 78 return fieldKeyword; 79 } 80 public void setKeyword(boolean inKeyword) 81 { 82 fieldKeyword = inKeyword; 83 } 84 public boolean isStored() 85 { 86 return fieldIsStored; 87 } 88 public void setStored( boolean inStored) 89 { 90 fieldIsStored = inStored; 91 } 92 public boolean isImage() 93 { 94 return fieldIsImage; 95 } 96 public void setImage(boolean inIsImage) 97 { 98 fieldIsImage = inIsImage; 99 } 100 public boolean isEditable() 101 { 102 return fieldEditable; 103 } 104 public void setEditable(boolean inEditable) 105 { 106 fieldEditable = inEditable; 107 } 108 public String getExternalId() 109 { 110 return fieldExternalId; 111 } 112 public void setExternalId(String inExternalId) 113 { 114 fieldExternalId = inExternalId; 115 } 116 public boolean isList() 125 { 126 return fieldList; 127 } 128 public void setList(boolean inList) 129 { 130 fieldList = inList; 131 } 132 public boolean isNumber() 133 { 134 return fieldNumber; 135 } 136 public void setNumber(boolean inNumber) 137 { 138 fieldNumber = inNumber; 139 } 140 } 141 | Popular Tags |