litesoft
@ 948
litesoft / trunk / GWT_Sandbox / Prioritizer / src / org / litesoft / prioritizer / client / boviews / StoryViewGO.java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
package org.litesoft.prioritizer.client.boviews; import org.litesoft.bo.views.*; public abstract class StoryViewGO extends ViewObject<StoryView> implements StoryViewNames { @Deprecated protected StoryViewGO() { super( StoryViewMetaData.getInstance() ); } protected StoryViewGO( boolean pNew, TransactionSet pTransactionSet ) { super( StoryViewMetaData.getInstance(), pNew, pTransactionSet ); } private Long mID; @Override public Long getID() { return mID; } @Override public void setID( Long pID ) { VoAttribute<StoryView> zAttribute = getVoAttribute( aID ); if ( verifyMutabilityOnChange( zAttribute, getID(), pID = zAttribute.normalize( pID, zAttribute.isRequired() ) ) ) { LLsetID( pID ); } } protected void LLsetID( Long pID ) { mID = pID; } private String mChanges; public String getChanges() { return mChanges; } public void setChanges( String pChanges ) { VoAttribute<StoryView> zAttribute = getVoAttribute( aChanges ); if ( verifyMutabilityOnChange( zAttribute, getChanges(), pChanges = zAttribute.normalize( pChanges, zAttribute.isRequired() ) ) ) { LLsetChanges( pChanges ); } } protected void LLsetChanges( String pChanges ) { mChanges = pChanges; } private String mCreatorFullName; public String getCreatorFullName() { return mCreatorFullName; } public void setCreatorFullName( String pCreatorFullName ) { VoAttribute<StoryView> zAttribute = getVoAttribute( aCreatorFullName ); if ( verifyMutabilityOnChange( zAttribute, getCreatorFullName(), pCreatorFullName = zAttribute.normalize( pCreatorFullName, zAttribute.isRequired() ) ) ) { LLsetCreatorFullName( pCreatorFullName ); } } protected void LLsetCreatorFullName( String pCreatorFullName ) { mCreatorFullName = pCreatorFullName; } private String mDescription; public String getDescription() { return mDescription; } public void setDescription( String pDescription ) { VoAttribute<StoryView> zAttribute = getVoAttribute( aDescription ); if ( verifyMutabilityOnChange( zAttribute, getDescription(), pDescription = zAttribute.normalize( pDescription, zAttribute.isRequired() ) ) ) { LLsetDescription( pDescription ); } } protected void LLsetDescription( String pDescription ) { mDescription = pDescription; } abstract public String getDescriptionThreeLines(); private Boolean mIsDone; public Boolean getIsDone() { return mIsDone; } public void setIsDone( Boolean pIsDone ) { VoAttribute<StoryView> zAttribute = getVoAttribute( aIsDone ); if ( verifyMutabilityOnChange( zAttribute, getIsDone(), pIsDone = zAttribute.normalize( pIsDone, zAttribute.isRequired() ) ) ) { LLsetIsDone( pIsDone ); } } protected void LLsetIsDone( Boolean pIsDone ) { mIsDone = pIsDone; } private String mName; public String getName() { return mName; } public void setName( String pName ) { VoAttribute<StoryView> zAttribute = getVoAttribute( aName ); if ( verifyMutabilityOnChange( zAttribute, getName(), pName = zAttribute.normalize( pName, zAttribute.isRequired() ) ) ) { LLsetName( pName ); } } protected void LLsetName( String pName ) { mName = pName; } private Float mPriority; public Float getPriority() { return mPriority; } public void setPriority( Float pPriority ) { VoAttribute<StoryView> zAttribute = getVoAttribute( aPriority ); if ( verifyMutabilityOnChange( zAttribute, getPriority(), pPriority = zAttribute.normalize( pPriority, zAttribute.isRequired() ) ) ) { LLsetPriority( pPriority ); } } protected void LLsetPriority( Float pPriority ) { mPriority = pPriority; } private String mPriorityLastChangedBy; public String getPriorityLastChangedBy() { return mPriorityLastChangedBy; } public void setPriorityLastChangedBy( String pPriorityLastChangedBy ) { VoAttribute<StoryView> zAttribute = getVoAttribute( aPriorityLastChangedBy ); if ( verifyMutabilityOnChange( zAttribute, getPriorityLastChangedBy(), pPriorityLastChangedBy = zAttribute.normalize( pPriorityLastChangedBy, zAttribute.isRequired() ) ) ) { LLsetPriorityLastChangedBy( pPriorityLastChangedBy ); } } protected void LLsetPriorityLastChangedBy( String pPriorityLastChangedBy ) { mPriorityLastChangedBy = pPriorityLastChangedBy; } abstract public String getPriorityToDisplay(); private Boolean mShowDone; public Boolean getShowDone() { return mShowDone; } public void setShowDone( Boolean pShowDone ) { VoAttribute<StoryView> zAttribute = getVoAttribute( aShowDone ); if ( verifyMutabilityOnChange( zAttribute, getShowDone(), pShowDone = zAttribute.normalize( pShowDone, zAttribute.isRequired() ) ) ) { LLsetShowDone( pShowDone ); } } protected void LLsetShowDone( Boolean pShowDone ) { mShowDone = pShowDone; } } |