public class ServiceContract extends Object implements Serializable
| Constructor and Description |
|---|
ServiceContract(String apikey,
Service service,
Application application,
List<Policy> policies)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getApikey() |
Application |
getApplication() |
List<Policy> |
getPolicies() |
Service |
getService() |
int |
hashCode() |
void |
setApikey(String apikey) |
void |
setApplication(Application application) |
void |
setPolicies(List<Policy> policies) |
void |
setService(Service service) |
public ServiceContract(String apikey, Service service, Application application, List<Policy> policies)
apikey - service - application - policies - public String getApikey()
public void setApikey(String apikey)
apikey - the apikey to setpublic Service getService()
public void setService(Service service)
service - the service to setpublic Application getApplication()
public void setApplication(Application application)
application - the application to setpublic void setPolicies(List<Policy> policies)
policies - the policies 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.