public abstract class AbstractInterface<T extends InterfaceConfig> extends AbstractWsdlModelItem<T> implements Interface
DEFINITION_PROPERTY, ENDPOINT_PROPERTY, UPDATING_PROPERTY
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
Modifier | Constructor and Description |
---|---|
protected |
AbstractInterface(T config,
ModelItem parent,
String icon) |
Modifier and Type | Method and Description |
---|---|
void |
addEndpoint(String endpoint) |
void |
addInterfaceListener(InterfaceListener listener) |
void |
changeEndpoint(String oldEndpoint,
String newEndpoint) |
void |
fireOperationAdded(Operation operation) |
void |
fireOperationRemoved(Operation operation) |
void |
fireOperationUpdated(Operation operation) |
void |
fireRequestAdded(Request request) |
void |
fireRequestRemoved(Request request) |
Operation[] |
getAllOperations() |
List<? extends ModelItem> |
getChildren() |
T |
getConfig() |
abstract String |
getDefinition()
Return the URL for the current definition (ie a WSDL or WADL url)
|
abstract AbstractDefinitionContext |
getDefinitionContext() |
String[] |
getEndpoints() |
WsdlProject |
getProject()
Gets the project that this ModelItem object is part of.
|
abstract String |
getType() |
abstract boolean |
isDefinitionShareble() |
void |
release() |
void |
removeEndpoint(String endpoint) |
void |
removeInterfaceListener(InterfaceListener listener) |
addExternalDependencies, afterLoad, beforeSave, 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
getInterfaceType, getOperationAt, getOperationByName, getOperationCount, getOperationList, getTechnicalId
getDescription, getIcon, getId, getName, getParent, getSettings
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
public WsdlProject getProject()
ModelItem
Workspace
object, an UnsupportedOperationException
is thrown.getProject
in interface Interface
getProject
in interface ModelItem
getProject
in class AbstractModelItem
public T getConfig()
getConfig
in class AbstractWsdlModelItem<T extends InterfaceConfig>
public List<? extends ModelItem> getChildren()
getChildren
in interface ModelItem
getChildren
in class AbstractModelItem
public String[] getEndpoints()
getEndpoints
in interface Interface
public void addEndpoint(String endpoint)
addEndpoint
in interface Interface
public void changeEndpoint(String oldEndpoint, String newEndpoint)
changeEndpoint
in interface Interface
public void removeEndpoint(String endpoint)
removeEndpoint
in interface Interface
public void fireOperationAdded(Operation operation)
public void fireOperationUpdated(Operation operation)
public void fireOperationRemoved(Operation operation)
public void fireRequestAdded(Request request)
public void fireRequestRemoved(Request request)
public void addInterfaceListener(InterfaceListener listener)
addInterfaceListener
in interface Interface
public void removeInterfaceListener(InterfaceListener listener)
removeInterfaceListener
in interface Interface
public void release()
release
in interface Releasable
release
in class AbstractWsdlModelItem<T extends InterfaceConfig>
public abstract AbstractDefinitionContext getDefinitionContext()
getDefinitionContext
in interface Interface
public abstract String getDefinition()
public abstract String getType()
public abstract boolean isDefinitionShareble()
public Operation[] getAllOperations()
getAllOperations
in interface Interface
Copyright © 2019. All Rights Reserved.