public class WsdlImpl extends GovernanceArtifactImpl implements Wsdl
attributes, properties
Constructor and Description |
---|
WsdlImpl(String id,
org.wso2.carbon.registry.core.Registry registry)
Constructor accepting resource path, identifier and a registry instance.
|
WsdlImpl(String id,
String url)
Constructor accepting resource identifier and the WSDL URL.
|
Modifier and Type | Method and Description |
---|---|
void |
attachEndpoint(Endpoint endpoint)
Attach an endpoint artifact to a WSDL artifact.
|
void |
attachSchema(Schema schema)
Attach a schema artifact to a WSDL artifact.
|
void |
detachEndpoint(String endpointId)
Detach an endpoint artifact from a WSDL artifact.
|
void |
detachSchema(String schemaId)
Detach a schema artifact from a WSDL artifact.
|
Endpoint[] |
getAttachedEndpoints()
Method to retrieve all endpoints attached to this WSDL artifact.
|
Schema[] |
getAttachedSchemas()
Method to retrieve all schemas attached to this WSDL artifact.
|
QName |
getQName()
Returns the QName of the artifact.
|
String |
getUrl()
Method to obtain the WSDL URL.
|
org.apache.axiom.om.OMElement |
getWsdlElement()
Method to obtain the WSDL element of this WSDL artifact.
|
void |
loadWsdlDetails()
Method to load the WSDL details into this artifact.
|
void |
setQName(QName qName)
Method to set the qualified name of this service artifact.
|
void |
setWsdlElement(org.apache.axiom.om.OMElement wsdlElement)
Method to set the WSDL element of this WSDL artifact.
|
addAssociation, addAssociation, addAttribute, addBidirectionalAssociation, addTag, addTags, associateRegistry, attach, attach, attachLifecycle, checkLCItem, checkRegistryResourceAssociation, compareTo, create, create, create, create, createVersion, detach, detachLifecycle, equals, getAllCheckListItemNames, getAllLifecycleActions, getAllVotingItems, getAllVotingItems, getArtifactPath, getAssociatedArtifactIds, getAssociatedRegistry, getAssociations, getAttribute, getAttributeKeys, getAttributes, getCurrentStateDuration, getDependencies, getDependents, getId, getLcName, getLcState, getLifecycleName, getLifecycleNames, getLifecycleState, getLifecycleState, getMediaType, getPath, getPropertyKeys, getUniqueAttributes, invokeAction, invokeAction, isLCItemChecked, isRegistryAwareArtifact, isVoted, isVoted, listTags, removeAssociation, removeAssociation, removeAttribute, removeTag, removeTags, setArtifactPath, setAttribute, setAttributes, setId, setLcName, setLcState, setUniqueAttributes, toString, uncheckLCItem, uniqueTo, unvote, unvote, updatePath, updatePath, vote, vote
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAssociation, addAssociation, addAttribute, addBidirectionalAssociation, addTag, addTags, attach, attach, attachLifecycle, checkLCItem, compareTo, detach, getAllCheckListItemNames, getAllLifecycleActions, getAllVotingItems, getAllVotingItems, getAssociatedArtifactIds, getAssociations, getAttribute, getAttributeKeys, getAttributes, getCurrentStateDuration, getDependencies, getDependents, getId, getLifecycleName, getLifecycleNames, getLifecycleState, getLifecycleState, getMediaType, getPath, getPropertyKeys, invokeAction, invokeAction, isLCItemChecked, isRegistryAwareArtifact, isVoted, isVoted, listTags, removeAssociation, removeAssociation, removeAttribute, removeTag, removeTags, setAttribute, setAttributes, setId, uncheckLCItem, uniqueTo, unvote, unvote, vote, vote
public WsdlImpl(String id, org.wso2.carbon.registry.core.Registry registry) throws GovernanceException
id
- the resource identifier.registry
- the registry instance.GovernanceException
- if the construction fails.public QName getQName()
GovernanceArtifact
getQName
in interface GovernanceArtifact
public org.apache.axiom.om.OMElement getWsdlElement()
getWsdlElement
in interface Wsdl
public void setWsdlElement(org.apache.axiom.om.OMElement wsdlElement)
setWsdlElement
in interface Wsdl
wsdlElement
- the WSDL element.public String getUrl()
public void attachSchema(Schema schema) throws GovernanceException
attachSchema
in interface Wsdl
schema
- the schema to attach.GovernanceException
- if the operation failed.public void detachSchema(String schemaId) throws GovernanceException
detachSchema
in interface Wsdl
schemaId
- the identifier of the schema to detach.GovernanceException
- if the operation failed.public Schema[] getAttachedSchemas() throws GovernanceException
getAttachedSchemas
in interface Wsdl
GovernanceException
- if the operation failed.public void attachEndpoint(Endpoint endpoint) throws GovernanceException
attachEndpoint
in interface Wsdl
endpoint
- the endpoint to attach.GovernanceException
- if the operation failed.public void detachEndpoint(String endpointId) throws GovernanceException
detachEndpoint
in interface Wsdl
endpointId
- the identifier of the endpoint to detach.GovernanceException
- if the operation failed.public Endpoint[] getAttachedEndpoints() throws GovernanceException
getAttachedEndpoints
in interface Wsdl
GovernanceException
- if the operation failed.public void loadWsdlDetails() throws GovernanceException
GovernanceException
- if the operation failed.public void setQName(QName qName) throws GovernanceException
setQName
in interface GovernanceArtifact
qName
- the qualified name.GovernanceException
- if the operation failed.Copyright © 2019 WSO2. All Rights Reserved.