1 /*
2 * Copyright 2001-2008 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
18
19 package org.uddi.custody_v3;
20
21 import java.io.Serializable;
22
23 import javax.xml.bind.annotation.XmlAccessType;
24 import javax.xml.bind.annotation.XmlAccessorType;
25 import javax.xml.bind.annotation.XmlElement;
26 import javax.xml.bind.annotation.XmlSchemaType;
27 import javax.xml.bind.annotation.XmlTransient;
28 import javax.xml.bind.annotation.XmlType;
29 import javax.xml.datatype.XMLGregorianCalendar;
30
31
32 /**
33 * <p>Java class for transferToken complex type.
34 *
35 * <p>The following schema fragment specifies the expected content contained within this class.
36 *
37 * <pre>
38 * <complexType name="transferToken">
39 * <complexContent>
40 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
41 * <sequence>
42 * <element ref="{urn:uddi-org:api_v3}nodeID"/>
43 * <element name="expirationTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
44 * <element name="opaqueToken" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
45 * </sequence>
46 * </restriction>
47 * </complexContent>
48 * </complexType>
49 * </pre>
50 *
51 *
52 */
53 @XmlAccessorType(XmlAccessType.FIELD)
54 @XmlType(name = "transferToken", propOrder = {
55 "nodeID",
56 "expirationTime",
57 "opaqueToken"
58 })
59 public class TransferToken implements Serializable{
60 @XmlTransient
61 private static final long serialVersionUID = 4303304106321293163L;
62 @XmlElement(namespace = "urn:uddi-org:api_v3", required = true)
63 protected String nodeID;
64 @XmlElement(required = true)
65 @XmlSchemaType(name = "dateTime")
66 protected XMLGregorianCalendar expirationTime;
67 @XmlElement(required = true)
68 protected byte[] opaqueToken;
69
70 /**
71 * Gets the value of the nodeID property.
72 *
73 * @return
74 * possible object is
75 * {@link String }
76 *
77 */
78 public String getNodeID() {
79 return nodeID;
80 }
81
82 /**
83 * Sets the value of the nodeID property.
84 *
85 * @param value
86 * allowed object is
87 * {@link String }
88 *
89 */
90 public void setNodeID(String value) {
91 this.nodeID = value;
92 }
93
94 /**
95 * Gets the value of the expirationTime property.
96 *
97 * @return
98 * possible object is
99 * {@link XMLGregorianCalendar }
100 *
101 */
102 public XMLGregorianCalendar getExpirationTime() {
103 return expirationTime;
104 }
105
106 /**
107 * Sets the value of the expirationTime property.
108 *
109 * @param value
110 * allowed object is
111 * {@link XMLGregorianCalendar }
112 *
113 */
114 public void setExpirationTime(XMLGregorianCalendar value) {
115 this.expirationTime = value;
116 }
117
118 /**
119 * Gets the value of the opaqueToken property.
120 *
121 * @return
122 * possible object is
123 * byte[]
124 */
125 public byte[] getOpaqueToken() {
126 return opaqueToken;
127 }
128
129 /**
130 * Sets the value of the opaqueToken property.
131 *
132 * @param value
133 * allowed object is
134 * byte[]
135 */
136 public void setOpaqueToken(byte[] value) {
137 this.opaqueToken = ((byte[]) value);
138 }
139
140 }