Contract Data Type

Java class for Contract complex type.

Properties
name data type description
parameterSetting ParameterSetting
usagePoliciesByMethod UsagePoliciesByMethod

Example

{
  "contract" : {
    "parameterSetting" : {
      "contextAttribute" : [ {
        "attributeName" : "...",
        "attributeValue" : "..."
      }, {
        "attributeName" : "...",
        "attributeValue" : "..."
      } ]
    },
    "usagePoliciesByMethod" : {
      "usagePolicies" : [ {
        "guarantee" : {
        },
        "methodRestriction" : {
        },
        "methodAccess" : true,
        "methodName" : "...",
        "parameters" : {
        },
        "resultRestrictions" : {
        }
      }, {
        "guarantee" : {
        },
        "methodRestriction" : {
        },
        "methodAccess" : true,
        "methodName" : "...",
        "parameters" : {
        },
        "resultRestrictions" : {
        }
      } ]
    }
  }
}