public class RestService extends AbstractInterface<RestServiceConfig> implements RestResourceContainer
DEFINITION_PROPERTY, ENDPOINT_PROPERTY, UPDATING_PROPERTY
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
Constructor and Description |
---|
RestService(WsdlProject project,
RestServiceConfig serviceConfig) |
addEndpoint, addInterfaceListener, changeEndpoint, fireOperationAdded, fireOperationRemoved, fireOperationUpdated, fireRequestAdded, fireRequestRemoved, getChildren, getConfig, getEndpoints, getProject, removeEndpoint, removeInterfaceListener
addExternalDependencies, afterLoad, dependsOn, getDescription, getExternalDependencies, getIcon, getId, getName, getParent, getSettings, getWsdlModelItemById, getWsdlModelItemByName, resolve, setConfig, setDescription, setIcon, setName, setSettings
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
getDescription, getIcon, getId, getName, getParent, getSettings
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
public RestService(WsdlProject project, RestServiceConfig serviceConfig)
public String getWadlVersion()
public String getInterfaceType()
getInterfaceType
in interface Interface
public RestResource getOperationAt(int index)
getOperationAt
in interface Interface
public RestResource getOperationByName(String name)
getOperationByName
in interface Interface
public int getOperationCount()
getOperationCount
in interface Interface
public List<Operation> getOperationList()
getOperationList
in interface Interface
public String getBasePath()
public void setBasePath(String basePath)
public String getInferredSchema()
public void setInferredSchema(String inferredSchema)
public boolean isGenerated()
public String getWadlUrl()
public String generateWadlUrl()
public void setWadlUrl(String wadlUrl)
public String getTechnicalId()
getTechnicalId
in interface Interface
public RestResource addNewResource(String name, String path)
public RestResource cloneResource(RestResource resource, String name)
cloneResource
in interface RestResourceContainer
public void deleteResource(RestResource resource)
deleteResource
in interface RestResourceContainer
public List<RestResource> getAllResources()
public Map<String,RestResource> getResources()
public RestResource getResourceByFullPath(String resourcePath)
public RestResource[] getResourcesByFullPath(String resourcePath)
public WadlDefinitionContext getDefinitionContext()
getDefinitionContext
in interface Interface
getDefinitionContext
in class AbstractInterface<RestServiceConfig>
public WadlDefinitionContext getWadlContext()
public String getDefinition()
AbstractInterface
getDefinition
in class AbstractInterface<RestServiceConfig>
public String getType()
getType
in class AbstractInterface<RestServiceConfig>
public boolean isDefinitionShareble()
isDefinitionShareble
in class AbstractInterface<RestServiceConfig>
public Operation[] getAllOperations()
getAllOperations
in interface Interface
getAllOperations
in class AbstractInterface<RestServiceConfig>
public void beforeSave()
beforeSave
in class AbstractWsdlModelItem<RestServiceConfig>
public void release()
release
in interface Releasable
release
in class AbstractInterface<RestServiceConfig>
public List<RestResource> getResourceList()
public boolean exportChanges()
public void setExportChanges(boolean exportChanges)
Copyright © 2019. All Rights Reserved.