Class DigitalSubscriptionProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.digitalbusiness.AgreementProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.digitalbusiness.DigitalSubscriptionProperties
DigitalSubscriptionProperties describes the agreement between a subscriber to one or more digital products.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the map of service levels agreed in this subscription.Return the level of support offered in this subscription.int
hashCode()
Return hash code for this objectvoid
setServiceLevels
(Map<String, String> serviceLevels) Set up the map of service levels agreed in this subscription.void
setSupportLevel
(String supportLevel) Set up the level of support offered in this subscription.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.digitalbusiness.AgreementProperties
getAgreementType, getDescription, getDisplayName, setAgreementType, setDescription, setDisplayName
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
Constructor Details
-
DigitalSubscriptionProperties
public DigitalSubscriptionProperties()Default constructor -
DigitalSubscriptionProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getSupportLevel
Return the level of support offered in this subscription.- Returns:
- string
-
setSupportLevel
Set up the level of support offered in this subscription.- Parameters:
supportLevel
- string
-
getServiceLevels
Return the map of service levels agreed in this subscription.- Returns:
- map
-
setServiceLevels
Set up the map of service levels agreed in this subscription.- Parameters:
serviceLevels
- int
-
toString
JSON-style toString- Overrides:
toString
in classAgreementProperties
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classAgreementProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classAgreementProperties
- Returns:
- int hash code
-