01: package org.obe.client.api.repository;
02:
03: /**
04: * @author Adrian Price
05: */
06: public abstract class ImplClassMetaData extends AbstractMetaData {
07: private static final long serialVersionUID = -7818991286704032647L;
08: private String _implClass;
09: private String[] _implCtorSig;
10:
11: protected ImplClassMetaData() {
12: }
13:
14: protected ImplClassMetaData(String id, String displayName,
15: String description, String docUrl, String author,
16: boolean threadsafe, String implClass, String[] implCtorSig) {
17:
18: super (id, displayName, description, docUrl, author, threadsafe);
19: _implClass = implClass;
20: _implCtorSig = implCtorSig;
21: }
22:
23: public final String getImplClass() {
24: return _implClass != null ? _implClass : _type == null
25: || !allowInheritance ? null : _type.getImplClass();
26: }
27:
28: public final void setImplClass(String implClass) {
29: _implClass = implClass;
30: }
31:
32: public final String[] getImplCtorSig() {
33: return _implCtorSig != null ? _implCtorSig : _type == null
34: || !allowInheritance ? null : _type.getImplCtorSig();
35: }
36:
37: public final void setImplCtorSig(String[] implCtorSig) {
38: _implCtorSig = implCtorSig;
39: }
40: }
|