-
Method Summary
void
Attach an endpoint artifact to a WSDL artifact.
void
Attach a schema artifact to a WSDL artifact.
void
Detach an endpoint artifact from a WSDL artifact.
void
Detach a schema artifact from a WSDL artifact.
Method to retrieve all endpoints attached to this WSDL artifact.
Method to retrieve all schemas attached to this WSDL artifact.
org.apache.axiom.om.OMElement
Method to obtain the WSDL element of this WSDL artifact.
void
Method to set the WSDL element of this WSDL artifact.
Methods inherited from interface org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifact
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, getQName, invokeAction, invokeAction, isLCItemChecked, isRegistryAwareArtifact, isVoted, isVoted, listTags, removeAssociation, removeAssociation, removeAttribute, removeTag, removeTags, setAttribute, setAttributes, setId, setQName, uncheckLCItem, uniqueTo, unvote, unvote, vote, vote
-
Method Details
-
getWsdlElement
org.apache.axiom.om.OMElement getWsdlElement()
Method to obtain the WSDL element of this WSDL artifact.
- Returns:
- the WSDL element.
-
setWsdlElement
void setWsdlElement(org.apache.axiom.om.OMElement wsdlElement)
Method to set the WSDL element of this WSDL artifact.
- Parameters:
wsdlElement - the WSDL element.
-
attachSchema
Attach a schema artifact to a WSDL artifact. Both the artifacts should be saved, before
calling this method.
- Parameters:
schema - the schema to attach.
- Throws:
GovernanceException - if the operation failed.
-
detachSchema
Detach a schema artifact from a WSDL artifact. Both the artifacts should be saved, before
calling this method.
- Parameters:
schemaId - the identifier of the schema to detach.
- Throws:
GovernanceException - if the operation failed.
-
getAttachedSchemas
Method to retrieve all schemas attached to this WSDL artifact.
- Returns:
- all schemas attached to this WSDL artifact.
- Throws:
GovernanceException - if the operation failed.
-
attachEndpoint
Attach an endpoint artifact to a WSDL artifact. Both the artifacts should be saved, before
calling this method.
- Parameters:
endpoint - the endpoint to attach.
- Throws:
GovernanceException - if the operation failed.
-
detachEndpoint
Detach an endpoint artifact from a WSDL artifact. Both the artifacts should be saved, before
calling this method.
- Parameters:
endpointId - the identifier of the endpoint to detach.
- Throws:
GovernanceException - if the operation failed.
-
getAttachedEndpoints
Method to retrieve all endpoints attached to this WSDL artifact.
- Returns:
- all endpoints attached to this WSDL artifact.
- Throws:
GovernanceException - if the operation failed.