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
package com.richasp.samplestarter.mobile.client.views.forms.memo;

import org.litesoft.mementobeansupport.*;

/**
 * The Data for the Form View to support the "Memento" pattern.
 */
@SuppressWarnings("UnusedDeclaration")
public class AbstractFormsData extends AbstractMementoBean<FormsData>
{
    private static final AbstractAttributeProxy[] ATTRIBUTES = //
            { //
              /* 00 */ new StringAttributeProxy( "FirstName" ), //
              /* 01 */ new StringAttributeProxy( "LastName" ), //
              /* 02 */ new StringAttributeProxy( "JobTitle" ), //
            };

    protected AbstractFormsData()
    {
        super( ATTRIBUTES ); //
    }

    public AbstractFormsData( FormsData pOrig )
    {
        super( pOrig );
    }

    @Override
    protected final FormsData copy()
    {
        return new FormsData( (FormsData) this );
    }

    @Override
    protected FormsData defaultInstance()
    {
        return DEFAULT_INSTANCE;
    }

    /**
     * First Name of the Primary Contact
     */
    public String getFirstName()
    {
        return getValueFor( 0 );
    }

    public FormsData setFirstName( String pFirstName )
    {
        return setValueFor( 0, pFirstName );
    }

    public String getLastName()
    {
        return getValueFor( 1 );
    }

    public FormsData setLastName( String pLastName )
    {
        return setValueFor( 1, pLastName );
    }

    /**
     * Job Title for the Primary Contact person
     * (the owner/possessor of this device).
     */
    public String getJobTitle()
    {
        return getValueFor( 2 );
    }

    public FormsData setJobTitle( String pJobTitle )
    {
        return setValueFor( 2, pJobTitle );
    }

    public static final FormsData DEFAULT_INSTANCE = new FormsData();
}

Commits for litesoft/trunk/mobileGWT/SampleStarter/src/com/richasp/samplestarter/mobile/client/views/forms/memo/AbstractFormsData.java

Diff revisions: vs.
Revision Author Commited Message
851 Diff Diff GeorgeS picture GeorgeS Mon 08 Oct, 2012 00:05:32 +0000

Breaking the code as Temporal changes are implemented...

814 Diff Diff GeorgeS picture GeorgeS Sat 18 Aug, 2012 17:52:17 +0000
790 Diff Diff GeorgeS picture GeorgeS Sat 11 Aug, 2012 17:51:14 +0000
789 Diff Diff GeorgeS picture GeorgeS Sat 11 Aug, 2012 17:47:31 +0000
779 GeorgeS picture GeorgeS Mon 16 Jul, 2012 04:34:33 +0000