Class ServiceSpecification
- java.lang.Object
-
- org.contextmapper.dsl.generator.mdsl.model.ServiceSpecification
-
public class ServiceSpecification extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ServiceSpecification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addClient(EndpointClient client)
void
addDataType(DataType dataType)
void
addEndpoint(EndpointContract endpoint)
void
addProvider(EndpointProvider provider)
java.lang.String
getClientProtectedRegion()
java.util.List<EndpointClient>
getClients()
java.lang.String
getDataTypeProtectedRegion()
java.util.List<DataType>
getDataTypes()
java.lang.String
getEndpointProtectedRegion()
java.util.List<EndpointContract>
getEndpoints()
java.lang.String
getName()
java.lang.String
getProviderProtectedRegion()
java.util.List<EndpointProvider>
getProviders()
APIUsageContext
getUsageContext()
void
setClientProtectedRegion(java.lang.String clientProtectedRegion)
void
setDataTypeProtectedRegion(java.lang.String dataTypeProtectedRegion)
void
setEndpointProtectedRegion(java.lang.String endpointProtectedRegion)
void
setName(java.lang.String name)
void
setProviderProtectedRegion(java.lang.String providerProtectedRegion)
void
setUsageContext(APIUsageContext usageContext)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getDataTypes
public java.util.List<DataType> getDataTypes()
-
getEndpoints
public java.util.List<EndpointContract> getEndpoints()
-
getProviders
public java.util.List<EndpointProvider> getProviders()
-
addDataType
public void addDataType(DataType dataType)
-
addEndpoint
public void addEndpoint(EndpointContract endpoint)
-
addProvider
public void addProvider(EndpointProvider provider)
-
getClients
public java.util.List<EndpointClient> getClients()
-
addClient
public void addClient(EndpointClient client)
-
setUsageContext
public void setUsageContext(APIUsageContext usageContext)
-
getUsageContext
public APIUsageContext getUsageContext()
-
setDataTypeProtectedRegion
public void setDataTypeProtectedRegion(java.lang.String dataTypeProtectedRegion)
-
getDataTypeProtectedRegion
public java.lang.String getDataTypeProtectedRegion()
-
setEndpointProtectedRegion
public void setEndpointProtectedRegion(java.lang.String endpointProtectedRegion)
-
getEndpointProtectedRegion
public java.lang.String getEndpointProtectedRegion()
-
setProviderProtectedRegion
public void setProviderProtectedRegion(java.lang.String providerProtectedRegion)
-
getProviderProtectedRegion
public java.lang.String getProviderProtectedRegion()
-
setClientProtectedRegion
public void setClientProtectedRegion(java.lang.String clientProtectedRegion)
-
getClientProtectedRegion
public java.lang.String getClientProtectedRegion()
-
-