@Entity public class ServiceVersionBean extends Object implements Serializable
ServiceBean. All
other specifics of the service, such as endpoint information
and configured policies are associated with a particular version
of that Service. This class represents that version.| Constructor and Description |
|---|
ServiceVersionBean()
Constructor.
|
public Long getId()
public void setId(Long id)
id - the id to setpublic ServiceBean getService()
public void setService(ServiceBean service)
service - the service to setpublic String getVersion()
public void setVersion(String version)
version - the version to setpublic String getCreatedBy()
public void setCreatedBy(String createdBy)
createdBy - the createdBy to setpublic Date getCreatedOn()
public void setCreatedOn(Date createdOn)
createdOn - the createdOn to setpublic ServiceStatus getStatus()
public void setStatus(ServiceStatus status)
status - the status to setpublic String getEndpoint()
public void setEndpoint(String endpoint)
endpoint - the endpoint to setpublic EndpointType getEndpointType()
public void setEndpointType(EndpointType endpointType)
endpointType - the endpointType to setpublic Date getPublishedOn()
public void setPublishedOn(Date publishedOn)
publishedOn - the publishedOn to setpublic Date getRetiredOn()
public void setRetiredOn(Date retiredOn)
retiredOn - the retiredOn to setpublic Set<ServicePlanBean> getPlans()
public void setPlans(Set<ServicePlanBean> plans)
plans - the plans to setpublic Set<ServiceGatewayBean> getGateways()
public void setGateways(Set<ServiceGatewayBean> gateways)
gateways - the gateways to setpublic void addPlan(ServicePlanBean plan)
plan - the planpublic String getModifiedBy()
public void setModifiedBy(String modifiedBy)
modifiedBy - the modifiedBy to setpublic Date getModifiedOn()
public void setModifiedOn(Date modifiedOn)
modifiedOn - the modifiedOn to setpublic boolean isPublicService()
public void setPublicService(boolean publicService)
publicService - the publicService to setpublic ServiceDefinitionType getDefinitionType()
public void setDefinitionType(ServiceDefinitionType definitionType)
definitionType - the definitionType to setpublic int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.