org.apache.juddi.api_v3.ClientSubscriptionInfo Maven / Gradle / Ivy
/*
* Copyright 2001-2008 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package org.apache.juddi.api_v3;
import java.io.Serializable;
import java.util.Date;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for save_subscriptionInfo type. Specific to juddi.
*
* @author Kurt T Stam
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "clientSubscriptionInfo", propOrder = {
"subscriptionKey",
"fromClerk",
"toClerk",
"lastModified"
})
public class ClientSubscriptionInfo implements Serializable{
@XmlTransient
private static final long serialVersionUID = 6885792665298161949L;
@XmlElement(required = true)
protected String subscriptionKey;
@XmlElement(required = true)
protected Clerk toClerk;
@XmlElement(required = true)
protected Clerk fromClerk;
protected Date lastModified;
public String getSubscriptionKey() {
return subscriptionKey;
}
public void setSubscriptionKey(String subscriptionKey) {
this.subscriptionKey = subscriptionKey;
}
public Clerk getToClerk() {
return toClerk;
}
public void setToClerk(Clerk toClerk) {
this.toClerk = toClerk;
}
public Clerk getFromClerk() {
return fromClerk;
}
public void setFromClerk(Clerk fromClerk) {
this.fromClerk = fromClerk;
}
public Date getLastModified() {
return lastModified;
}
public void setLastModified(Date lastModified) {
this.lastModified = lastModified;
}
}