01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: *
17: * $Header:$
18: */
19: package org.apache.beehive.netui.pageflow.internal.annotationreader;
20:
21: import java.io.Serializable;
22:
23: /**
24: *
25: */
26: public class AnnotationAttribute implements Serializable {
27: private String _attributeName;
28: private String _stringValue;
29: private ProcessedAnnotation[] _annotationValues;
30:
31: public AnnotationAttribute() {
32: }
33:
34: public AnnotationAttribute(String attributeName, String value) {
35: _attributeName = attributeName;
36: _stringValue = value;
37: }
38:
39: public AnnotationAttribute(String attributeName,
40: ProcessedAnnotation[] annotationValues) {
41: _attributeName = attributeName;
42: _annotationValues = annotationValues;
43: }
44:
45: public String getAttributeName() {
46: return _attributeName;
47: }
48:
49: public void setAttributeName(String attributeName) {
50: _attributeName = attributeName;
51: }
52:
53: public String getStringValue() {
54: return _stringValue;
55: }
56:
57: public void setStringValue(String value) {
58: _stringValue = value;
59: }
60:
61: public ProcessedAnnotation[] getAnnotationValues() {
62: return _annotationValues;
63: }
64:
65: public void setAnnotationValues(
66: ProcessedAnnotation[] annotationValues) {
67: _annotationValues = annotationValues;
68: }
69: }
|