|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifact
org.wso2.carbon.governance.api.sla.dataobjects.SLA
public class SLA
This represents a sla artifact stored on the Registry. SLA artifacts are created as a result of adding a new sla or uploading or importing a WSDL file into the registry.
Field Summary |
---|
Fields inherited from class org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifact |
---|
attributes |
Constructor Summary | |
---|---|
protected |
SLA(SLA sla)
Copy constructor used for cloning. |
|
SLA(String id,
org.apache.axiom.om.OMElement slaContentElement)
Constructor accepting resource identifier and the sla content. |
|
SLA(String id,
QName qName)
Constructor accepting resource identifier and the qualified name. |
Method Summary | |
---|---|
QName |
getQName()
Returns the QName of the artifact. |
void |
setQName(QName qName)
Method to set the qualified name of this sla artifact. |
Methods inherited from class org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifact |
---|
addAttribute, associateRegistry, attach, attachLifecycle, checkRegistryResourceAssociation, create, create, createVersion, detach, getAssociatedRegistry, getAttribute, getAttributeKeys, getAttributes, getDependencies, getDependents, getId, getLifecycleName, getLifecycleState, getPath, removeAttribute, setAttribute, setAttributes, setId, updatePath |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected SLA(SLA sla)
sla
- the object to be copied.public SLA(String id, QName qName)
id
- the resource identifier.qName
- the qualified name.public SLA(String id, org.apache.axiom.om.OMElement slaContentElement) throws GovernanceException
id
- the resource identifier.slaContentElement
- an XML element containing the sla content.
GovernanceException
- if the construction fails.Method Detail |
---|
public QName getQName()
GovernanceArtifact
getQName
in class GovernanceArtifact
public void setQName(QName qName) throws GovernanceException
qName
- the qualified name.
GovernanceException
- if the operation failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |