Skip to main content
summaryrefslogtreecommitdiffstats
blob: 7781cc79a12578f4abd880eb8442cd9f42261cfc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*******************************************************************************
 * Copyright (c) 2009 by SAP AG, Walldorf. 
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *     SAP AG - initial API and implementation
 *******************************************************************************/
package org.eclipse.jst.ws.jaxws.utils.internal.annotations.impl;

import org.eclipse.jst.ws.jaxws.utils.annotations.IAnnotationProperty;


public class AnnotationProperty implements IAnnotationProperty
{
	private String annotationName;
	private String attributeName;
	private String value;
	private AttributeTypeEnum attributeType;
	
	/**
	 * Public constructor for AnnotationProperty objects
	 * 
	 * @param annotationName - String representation of the Name for the Annotation.
	 * @param attributeName - String representation of the Name for the Attribute.
	 * @param value - String representation of the Value for the Attribute.
	 */
	public AnnotationProperty(final String annotationName, final String attributeName, final String value, final AttributeTypeEnum attributeType)
	{
		this.annotationName = annotationName;
		this.attributeName = attributeName;
		this.value = value;
		this.attributeType = attributeType;
	}
		
	public String getAnnotationName()
	{
		return this.annotationName;
	}

	public String getAttributeName()
	{
		return this.attributeName;
	}
	
	public String getValue()
	{
		return this.value;
	}
	
	public AttributeTypeEnum getAttributeType()
	{
		return this.attributeType;
	}
}

Back to the top