KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > instancepersistence > DODSResource


1 package org.enhydra.shark.instancepersistence;
2
3
4 import org.enhydra.shark.api.internal.instancepersistence.*;
5
6 public class DODSResource implements ResourcePersistenceInterface {
7
8    private String JavaDoc username;
9    private String JavaDoc name;
10
11    public void setUsername (String JavaDoc un) {
12       this.username=un;
13    }
14
15    public String JavaDoc getUsername () {
16       return username;
17    }
18
19    public void setName (String JavaDoc newName) {
20       name=newName;
21    }
22
23    public String JavaDoc getName () {
24       return name;
25    }
26
27 }
28
Popular Tags