Class DataContractSLAProperty
java.lang.Object
org.odpi.openmetadata.frameworks.integration.bitol.odcs.DataContractSLAProperty
This class represents a service level agreement (SLA) property of an Open Data Contract Standard (ODCS) data
contract. Examples of properties are latency, generalAvailability, endOfSupport, endOfLife, retention,
frequency and timeOfAvailability. The type of the value depends on the property.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return links to the sources that define this service level property.Return the custom properties of this service level property.Return the description of the SLA property.Return the importance of the SLA property: regulatory, analytics or operational.Return the schema element(s) that the SLA property applies to (object.property).getId()Return the stable identifier of this element (alphanumeric, hyphen and underscore characters only).Return the name of the SLA property.Return the schedule configuration for the scheduler, for example a cron expression.Return the name of the scheduler used to check the SLA property, for example cron.getUnit()Return the unit of the value (ISO standard, for example d for days and y for years).getValue()Return the agreed value of the SLA property (string, number, boolean or null).Return the extended agreed value of the SLA property.inthashCode()Return hash code based on properties.voidsetAuthoritativeDefinitions(List<BitolAuthoritativeDefinition> authoritativeDefinitions) Set up links to the sources that define this service level property.voidsetCustomProperties(List<BitolCustomProperty> customProperties) Set up the custom properties of this service level property.voidsetDescription(String description) Set up the description of the SLA property.voidSet up the importance of the SLA property: regulatory, analytics or operational.voidsetElement(String element) Set up the schema element(s) that the SLA property applies to (object.property).voidSet up the stable identifier of this element (alphanumeric, hyphen and underscore characters only).voidsetProperty(String property) Set up the name of the SLA property.voidsetSchedule(String schedule) Set up the schedule configuration for the scheduler, for example a cron expression.voidsetScheduler(String scheduler) Set up the name of the scheduler used to check the SLA property, for example cron.voidSet up the unit of the value (ISO standard, for example d for days and y for years).voidSet up the agreed value of the SLA property (string, number, boolean or null).voidsetValueExt(Object valueExt) Set up the extended agreed value of the SLA property.toString()Standard toString method.
-
Constructor Details
-
DataContractSLAProperty
public DataContractSLAProperty()Default constructor
-
-
Method Details
-
getId
Return the stable identifier of this element (alphanumeric, hyphen and underscore characters only).- Returns:
- string identifier
-
setId
Set up the stable identifier of this element (alphanumeric, hyphen and underscore characters only).- Parameters:
id- string identifier
-
getProperty
Return the name of the SLA property.- Returns:
- string property name
-
setProperty
Set up the name of the SLA property.- Parameters:
property- string property name
-
getValue
Return the agreed value of the SLA property (string, number, boolean or null).- Returns:
- agreed value
-
setValue
Set up the agreed value of the SLA property (string, number, boolean or null).- Parameters:
value- agreed value
-
getValueExt
Return the extended agreed value of the SLA property.- Returns:
- extended value
-
setValueExt
Set up the extended agreed value of the SLA property.- Parameters:
valueExt- extended value
-
getUnit
Return the unit of the value (ISO standard, for example d for days and y for years).- Returns:
- string unit
-
setUnit
Set up the unit of the value (ISO standard, for example d for days and y for years).- Parameters:
unit- string unit
-
getElement
Return the schema element(s) that the SLA property applies to (object.property).- Returns:
- string element reference
-
setElement
Set up the schema element(s) that the SLA property applies to (object.property).- Parameters:
element- string element reference
-
getDriver
Return the importance of the SLA property: regulatory, analytics or operational. Standard values are defined in DataContractSLADriver.- Returns:
- string driver
-
setDriver
Set up the importance of the SLA property: regulatory, analytics or operational. Standard values are defined in DataContractSLADriver.- Parameters:
driver- string driver
-
getDescription
Return the description of the SLA property.- Returns:
- string description
-
setDescription
Set up the description of the SLA property.- Parameters:
description- string description
-
getScheduler
Return the name of the scheduler used to check the SLA property, for example cron.- Returns:
- string scheduler name
-
setScheduler
Set up the name of the scheduler used to check the SLA property, for example cron.- Parameters:
scheduler- string scheduler name
-
getSchedule
Return the schedule configuration for the scheduler, for example a cron expression.- Returns:
- string schedule
-
setSchedule
Set up the schedule configuration for the scheduler, for example a cron expression.- Parameters:
schedule- string schedule
-
getCustomProperties
Return the custom properties of this service level property.- Returns:
- List
-
setCustomProperties
Set up the custom properties of this service level property.- Parameters:
customProperties- List
-
getAuthoritativeDefinitions
Return links to the sources that define this service level property.- Returns:
- List
-
setAuthoritativeDefinitions
public void setAuthoritativeDefinitions(List<BitolAuthoritativeDefinition> authoritativeDefinitions) Set up links to the sources that define this service level property.- Parameters:
authoritativeDefinitions- List
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-