View Javadoc
1   /*
2    * Copyright 2001-2009 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    * 
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   */
17  package org.apache.juddi;
18  
19  import java.io.Serializable;
20  import java.util.ArrayList;
21  import java.util.List;
22  
23  import javax.xml.bind.annotation.XmlElement;
24  import javax.xml.bind.annotation.XmlRootElement;
25  import javax.xml.bind.annotation.XmlTransient;
26  
27  
28  @XmlRootElement
29  public class InitialContextInfo implements Serializable {
30  
31  	@XmlTransient
32  	private static final long serialVersionUID = 5639256817185443090L;
33  	
34  	@XmlElement
35  	protected List<Property> contextProperty;
36  	
37  	public InitialContextInfo() {
38  		super();
39  	}
40  
41  	public List<Property> getContextProperty() {
42  		if (contextProperty==null) {
43  			contextProperty = new ArrayList<Property>();
44  		}
45  		return contextProperty;
46  	}
47  
48  	public void setProperty(List<Property> contextProperty) {
49  		this.contextProperty = contextProperty;
50  	}
51  
52  }