public class RestService extends AbstractInterface<RestServiceConfig> implements RestResourceContainer
DEFINITION_PROPERTY, ENDPOINT_PROPERTY, UPDATING_PROPERTYDESCRIPTION_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, removeInterfaceListeneraddExternalDependencies, afterLoad, dependsOn, getDescription, getExternalDependencies, getIcon, getId, getName, getParent, getSettings, getWsdlModelItemById, getWsdlModelItemByName, resolve, setConfig, setDescription, setIcon, setName, setSettingsaddPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamegetDescription, getIcon, getId, getName, getParent, getSettingsaddPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListenerpublic RestService(WsdlProject project, RestServiceConfig serviceConfig)
public String getWadlVersion()
public String getInterfaceType()
getInterfaceType in interface Interfacepublic RestResource getOperationAt(int index)
getOperationAt in interface Interfacepublic RestResource getOperationByName(String name)
getOperationByName in interface Interfacepublic int getOperationCount()
getOperationCount in interface Interfacepublic List<Operation> getOperationList()
getOperationList in interface Interfacepublic 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 Interfacepublic RestResource addNewResource(String name, String path)
public RestResource cloneResource(RestResource resource, String name)
cloneResource in interface RestResourceContainerpublic void deleteResource(RestResource resource)
deleteResource in interface RestResourceContainerpublic List<RestResource> getAllResources()
public Map<String,RestResource> getResources()
public RestResource getResourceByFullPath(String resourcePath)
public RestResource[] getResourcesByFullPath(String resourcePath)
public WadlDefinitionContext getDefinitionContext()
getDefinitionContext in interface InterfacegetDefinitionContext in class AbstractInterface<RestServiceConfig>public WadlDefinitionContext getWadlContext()
public String getDefinition()
AbstractInterfacegetDefinition 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 InterfacegetAllOperations in class AbstractInterface<RestServiceConfig>public void beforeSave()
beforeSave in class AbstractWsdlModelItem<RestServiceConfig>public void release()
release in interface Releasablerelease in class AbstractInterface<RestServiceConfig>public List<RestResource> getResourceList()
public boolean exportChanges()
public void setExportChanges(boolean exportChanges)
Copyright © 2019. All Rights Reserved.