01: package org.osbl.inventory.model;
02:
03: import org.osbl.identity.model.Identity;
04: import org.osbl.persistence.model.Concrete;
05: import org.conform.Property;
06:
07: public class CostCenter extends Concrete<Identity> {
08: @Property(mandatory="true")
09: String key;
10: @Property(mandatory="true")
11: String name;
12:
13: public CostCenter() {
14: }
15:
16: public CostCenter(Identity general) {
17: super (general);
18: }
19:
20: public String getKey() {
21: return key;
22: }
23:
24: public void setKey(String key) {
25: this .key = key;
26: }
27:
28: public String getName() {
29: return name;
30: }
31:
32: public void setName(String name) {
33: this.name = name;
34: }
35: }
|