01: /*
02: * Copyright 2006 Giordano Maestro (giordano.maestro@assetdata.it)
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package org.romaframework.aspect.reporting.feature;
17:
18: import org.romaframework.aspect.reporting.ReportingConstants;
19:
20: public class ReportingClassFeatures extends ReportingBaseFeatures {
21:
22: public ReportingClassFeatures() {
23: super ();
24: defineAttribute(LABEL, null);
25: defineAttribute(ENTITY, null);
26: defineAttribute(EXPLICIT_ELEMENTS, Boolean.FALSE);
27: defineAttribute(INHERIT_VIEW_CONFIGURATION, Boolean.TRUE);
28: defineAttribute(DOCUMENT_TYPE,
29: ReportingConstants.DOCUMENT_TYPE_PDF);
30: }
31:
32: public static final String DOCUMENT_TYPE = "documentType";
33:
34: public static final String LABEL = "label";
35:
36: public static final String ENTITY = "entity";
37:
38: public static final String EXPLICIT_ELEMENTS = "explicitElements";
39:
40: public static final String INHERIT_VIEW_CONFIGURATION = "inheritViewConfiguration";
41: }
|