public abstract class AbstractInterface<T extends InterfaceConfig> extends AbstractWsdlModelItem<T> implements Interface
DEFINITION_PROPERTY, ENDPOINT_PROPERTY, UPDATING_PROPERTYDESCRIPTION_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, setSettingsaddPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInterfaceType, getOperationAt, getOperationByName, getOperationCount, getOperationList, getTechnicalIdgetDescription, getIcon, getId, getName, getParent, getSettingsaddPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListenerpublic WsdlProject getProject()
ModelItemWorkspace object, an UnsupportedOperationException is thrown.getProject in interface InterfacegetProject in interface ModelItemgetProject in class AbstractModelItempublic T getConfig()
getConfig in class AbstractWsdlModelItem<T extends InterfaceConfig>public List<? extends ModelItem> getChildren()
getChildren in interface ModelItemgetChildren in class AbstractModelItempublic String[] getEndpoints()
getEndpoints in interface Interfacepublic void addEndpoint(String endpoint)
addEndpoint in interface Interfacepublic void changeEndpoint(String oldEndpoint, String newEndpoint)
changeEndpoint in interface Interfacepublic void removeEndpoint(String endpoint)
removeEndpoint in interface Interfacepublic 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 Interfacepublic void removeInterfaceListener(InterfaceListener listener)
removeInterfaceListener in interface Interfacepublic void release()
release in interface Releasablerelease in class AbstractWsdlModelItem<T extends InterfaceConfig>public abstract AbstractDefinitionContext getDefinitionContext()
getDefinitionContext in interface Interfacepublic abstract String getDefinition()
public abstract String getType()
public abstract boolean isDefinitionShareble()
public Operation[] getAllOperations()
getAllOperations in interface InterfaceCopyright © 2019. All Rights Reserved.