org.wso2.carbon.governance.api.policies.dataobjects
Interface Policy

All Superinterfaces:
GovernanceArtifact
All Known Implementing Classes:
PolicyImpl

public interface Policy
extends GovernanceArtifact


Method Summary
 String getPolicyContent()
          Method to obtain the policy element of this policy artifact.
 void setPolicyContent(String policyContent)
          Method to set the policy element of this policy artifact.
 
Methods inherited from interface org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifact
addAttribute, attachLifecycle, checkLCItem, getAllCheckListItemNames, getAllLifecycleActions, getAllVotingItems, getAttribute, getAttributeKeys, getAttributes, getDependencies, getDependents, getId, getLifecycleName, getLifecycleState, getPath, getQName, invokeAction, invokeAction, isLCItemChecked, isVoted, removeAttribute, setAttribute, setAttributes, setId, uncheckLCItem, unvote, vote
 

Method Detail

getPolicyContent

String getPolicyContent()
Method to obtain the policy element of this policy artifact.

Returns:
the policy element.

setPolicyContent

void setPolicyContent(String policyContent)
Method to set the policy element of this policy artifact.

Parameters:
policyContent - the policy element.


Copyright © 2013 WSO2 Inc. All Rights Reserved.