Subversion Repository Public Repository

litesoft

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
package org.litesoft.datt.client.boviews;

import org.litesoft.bo.views.*;

/**
 * Need to optionally carry UserViews
 */
public abstract class TaskViewGO
        extends ViewObject<TaskView>
        implements TaskViewNames {
    @Deprecated
    protected TaskViewGO() {
        super( TaskViewMetaData.getInstance() );
    }

    protected TaskViewGO( boolean pNew, TransactionSet pTransactionSet ) {
        super( TaskViewMetaData.getInstance(), pNew, pTransactionSet );
    }

    private Long mID;

    @Override
    public Long getID() {
        return mID;
    }

    @Override
    public void setID( Long pID ) {
        VoAttribute<TaskView> zAttribute = getVoAttribute( aID );
        if ( verifyMutabilityOnChange( zAttribute, getID(), pID = zAttribute.normalize( pID, zAttribute.isRequired() ) ) ) {
            LLsetID( pID );
        }
    }

    protected void LLsetID( Long pID ) {
        mID = pID;
    }

    private String mCreatorFullName;

    public String getCreatorFullName() {
        return mCreatorFullName;
    }

    public void setCreatorFullName( String pCreatorFullName ) {
        VoAttribute<TaskView> 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<TaskView> zAttribute = getVoAttribute( aDescription );
        if ( verifyMutabilityOnChange( zAttribute, getDescription(), pDescription = zAttribute.normalize( pDescription, zAttribute.isRequired() ) ) ) {
            LLsetDescription( pDescription );
        }
    }

    protected void LLsetDescription( String pDescription ) {
        mDescription = pDescription;
    }

    private Float mDisplayOrder;

    public Float getDisplayOrder() {
        return mDisplayOrder;
    }

    public void setDisplayOrder( Float pDisplayOrder ) {
        VoAttribute<TaskView> zAttribute = getVoAttribute( aDisplayOrder );
        if ( verifyMutabilityOnChange( zAttribute, getDisplayOrder(), pDisplayOrder = zAttribute.normalize( pDisplayOrder, zAttribute.isRequired() ) ) ) {
            LLsetDisplayOrder( pDisplayOrder );
        }
    }

    protected void LLsetDisplayOrder( Float pDisplayOrder ) {
        mDisplayOrder = pDisplayOrder;
    }

    private Boolean mIsDone;

    public Boolean getIsDone() {
        return mIsDone;
    }

    public void setIsDone( Boolean pIsDone ) {
        VoAttribute<TaskView> 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<TaskView> zAttribute = getVoAttribute( aName );
        if ( verifyMutabilityOnChange( zAttribute, getName(), pName = zAttribute.normalize( pName, zAttribute.isRequired() ) ) ) {
            LLsetName( pName );
        }
    }

    protected void LLsetName( String pName ) {
        mName = pName;
    }

    private Boolean mShowDone;

    /**
     * Used in query screen. If checked, it shows the done as well as the not done tasks.
     */
    public Boolean getShowDone() {
        return mShowDone;
    }

    /**
     * Used in query screen. If checked, it shows the done as well as the not done tasks.
     */
    public void setShowDone( Boolean pShowDone ) {
        VoAttribute<TaskView> zAttribute = getVoAttribute( aShowDone );
        if ( verifyMutabilityOnChange( zAttribute, getShowDone(), pShowDone = zAttribute.normalize( pShowDone, zAttribute.isRequired() ) ) ) {
            LLsetShowDone( pShowDone );
        }
    }

    /**
     * Used in query screen. If checked, it shows the done as well as the not done tasks.
     */
    protected void LLsetShowDone( Boolean pShowDone ) {
        mShowDone = pShowDone;
    }

    private String mStoryName;

    public String getStoryName() {
        return mStoryName;
    }

    public void setStoryName( String pStoryName ) {
        VoAttribute<TaskView> zAttribute = getVoAttribute( aStoryName );
        if ( verifyMutabilityOnChange( zAttribute, getStoryName(), pStoryName = zAttribute.normalize( pStoryName, zAttribute.isRequired() ) ) ) {
            LLsetStoryName( pStoryName );
        }
    }

    protected void LLsetStoryName( String pStoryName ) {
        mStoryName = pStoryName;
    }
}

Commits for litesoft/trunk/Java/DATT/src/org/litesoft/datt/client/boviews/TaskViewGO.java

Diff revisions: vs.
Revision Author Commited Message
948 Diff Diff GeorgeS picture GeorgeS Sat 07 Jun, 2014 23:42:39 +0000

Jusefuls Formatter Updated to New Code Format

565 Diff Diff markcmarkc Sun 13 Nov, 2011 21:45:35 +0000
430 GeorgeS picture GeorgeS Sat 20 Aug, 2011 19:46:21 +0000