~ubuntu-branches/ubuntu/karmic/qdox/karmic

« back to all changes in this revision

Viewing changes to src/java/com/thoughtworks/qdox/model/BeanProperty.java

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2007-04-11 13:51:08 UTC
  • Revision ID: james.westby@ubuntu.com-20070411135108-uplum1t13cbjsriw
Tags: upstream-1.6.1
ImportĀ upstreamĀ versionĀ 1.6.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package com.thoughtworks.qdox.model;
 
2
 
 
3
/**
 
4
 *
 
5
 * @author Aslak Hellesøy
 
6
 * @version $Revision: 380 $
 
7
 */
 
8
public class BeanProperty {
 
9
    
 
10
    private final String name;
 
11
    private JavaMethod accessor;
 
12
    private JavaMethod mutator;
 
13
    private Type type;
 
14
 
 
15
    public BeanProperty(String name) {
 
16
        this.name = name;
 
17
    }
 
18
 
 
19
    public String getName() {
 
20
        return name;
 
21
    }
 
22
 
 
23
    public void setType(Type type) {
 
24
        this.type = type;
 
25
    }
 
26
 
 
27
    public Type getType() {
 
28
        return type;
 
29
    }
 
30
 
 
31
    public JavaMethod getAccessor() {
 
32
        return accessor;
 
33
    }
 
34
 
 
35
    public void setAccessor(JavaMethod accessor) {
 
36
        this.accessor = accessor;
 
37
    }
 
38
 
 
39
    public JavaMethod getMutator() {
 
40
        return mutator;
 
41
    }
 
42
 
 
43
    public void setMutator(JavaMethod mutator) {
 
44
        this.mutator = mutator;
 
45
    }
 
46
}