Class DigitalSubscriptionProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.digitalservice.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.digitalservice.properties.AgreementProperties
-
- org.odpi.openmetadata.accessservices.digitalservice.properties.DigitalSubscriptionProperties
-
- All Implemented Interfaces:
Serializable
public class DigitalSubscriptionProperties extends AgreementProperties
DigitalSubscriptionProperties describes the agreement between a subscriber to one or more digital products.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DigitalSubscriptionProperties()Default constructorDigitalSubscriptionProperties(DigitalSubscriptionProperties template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.Map<String,String>getServiceLevels()Return the map of service levels agreed in this subscription.StringgetSupportLevel()Return the level of support offered in this subscription.inthashCode()Return hash code for this objectvoidsetServiceLevels(Map<String,String> serviceLevels)Set up the map of service levels agreed in this subscription.voidsetSupportLevel(String supportLevel)Set up the level of support offered in this subscription.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.digitalservice.properties.AgreementProperties
getAgreementType, getDescription, getDisplayName, setAgreementType, setDescription, setDisplayName
-
Methods inherited from class org.odpi.openmetadata.accessservices.digitalservice.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName
-
-
-
-
Constructor Detail
-
DigitalSubscriptionProperties
public DigitalSubscriptionProperties()
Default constructor
-
DigitalSubscriptionProperties
public DigitalSubscriptionProperties(DigitalSubscriptionProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getSupportLevel
public String getSupportLevel()
Return the level of support offered in this subscription.- Returns:
- string
-
setSupportLevel
public void setSupportLevel(String supportLevel)
Set up the level of support offered in this subscription.- Parameters:
supportLevel- string
-
getServiceLevels
public Map<String,String> getServiceLevels()
Return the map of service levels agreed in this subscription.- Returns:
- map
-
setServiceLevels
public void setServiceLevels(Map<String,String> serviceLevels)
Set up the map of service levels agreed in this subscription.- Parameters:
serviceLevels- int
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classAgreementProperties- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.- Overrides:
equalsin classAgreementProperties- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classAgreementProperties- Returns:
- int hash code
-
-