Class Webservice
- java.lang.Object
-
- org.springframework.hateoas.RepresentationModel<Webservice>
-
- com.aquima.web.rest.v1.resource.impl.Webservice
-
public class Webservice extends org.springframework.hateoas.RepresentationModel<Webservice>
Webservice REST API resource.- Since:
- 9.6
- Author:
- m.van.tilburg
-
-
Constructor Summary
Constructors Constructor Description Webservice()
Webservice(String name, String endpoint, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEndpoint()
String
getName()
String
getType()
void
setEndpoint(String endpoint)
void
setName(String name)
void
setType(String type)
-
-
-
Field Detail
-
TYPE_SOAP
public static final String TYPE_SOAP
- See Also:
- Constant Field Values
-
TYPE_REST
public static final String TYPE_REST
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getType
public String getType()
- Returns:
- The type of webservice, either SOAP or REST
-
setType
public void setType(String type)
- Parameters:
type
- The type of webservice, either SOAP or REST
-
getEndpoint
public String getEndpoint()
-
setEndpoint
public void setEndpoint(String endpoint)
-
-