Class DataContractSLAProperty

java.lang.Object
org.odpi.openmetadata.frameworks.integration.bitol.odcs.DataContractSLAProperty

public class DataContractSLAProperty extends Object
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 Details

    • DataContractSLAProperty

      public DataContractSLAProperty()
      Default constructor
  • Method Details

    • getId

      public String getId()
      Return the stable identifier of this element (alphanumeric, hyphen and underscore characters only).
      Returns:
      string identifier
    • setId

      public void setId(String id)
      Set up the stable identifier of this element (alphanumeric, hyphen and underscore characters only).
      Parameters:
      id - string identifier
    • getProperty

      public String getProperty()
      Return the name of the SLA property.
      Returns:
      string property name
    • setProperty

      public void setProperty(String property)
      Set up the name of the SLA property.
      Parameters:
      property - string property name
    • getValue

      public Object getValue()
      Return the agreed value of the SLA property (string, number, boolean or null).
      Returns:
      agreed value
    • setValue

      public void setValue(Object value)
      Set up the agreed value of the SLA property (string, number, boolean or null).
      Parameters:
      value - agreed value
    • getValueExt

      public Object getValueExt()
      Return the extended agreed value of the SLA property.
      Returns:
      extended value
    • setValueExt

      public void setValueExt(Object valueExt)
      Set up the extended agreed value of the SLA property.
      Parameters:
      valueExt - extended value
    • getUnit

      public String getUnit()
      Return the unit of the value (ISO standard, for example d for days and y for years).
      Returns:
      string unit
    • setUnit

      public void setUnit(String unit)
      Set up the unit of the value (ISO standard, for example d for days and y for years).
      Parameters:
      unit - string unit
    • getElement

      public String getElement()
      Return the schema element(s) that the SLA property applies to (object.property).
      Returns:
      string element reference
    • setElement

      public void setElement(String element)
      Set up the schema element(s) that the SLA property applies to (object.property).
      Parameters:
      element - string element reference
    • getDriver

      public String getDriver()
      Return the importance of the SLA property: regulatory, analytics or operational. Standard values are defined in DataContractSLADriver.
      Returns:
      string driver
    • setDriver

      public void setDriver(String driver)
      Set up the importance of the SLA property: regulatory, analytics or operational. Standard values are defined in DataContractSLADriver.
      Parameters:
      driver - string driver
    • getDescription

      public String getDescription()
      Return the description of the SLA property.
      Returns:
      string description
    • setDescription

      public void setDescription(String description)
      Set up the description of the SLA property.
      Parameters:
      description - string description
    • getScheduler

      public String getScheduler()
      Return the name of the scheduler used to check the SLA property, for example cron.
      Returns:
      string scheduler name
    • setScheduler

      public void setScheduler(String scheduler)
      Set up the name of the scheduler used to check the SLA property, for example cron.
      Parameters:
      scheduler - string scheduler name
    • getSchedule

      public String getSchedule()
      Return the schedule configuration for the scheduler, for example a cron expression.
      Returns:
      string schedule
    • setSchedule

      public void setSchedule(String schedule)
      Set up the schedule configuration for the scheduler, for example a cron expression.
      Parameters:
      schedule - string schedule
    • getCustomProperties

      public List<BitolCustomProperty> getCustomProperties()
      Return the custom properties of this service level property.
      Returns:
      List
    • setCustomProperties

      public void setCustomProperties(List<BitolCustomProperty> customProperties)
      Set up the custom properties of this service level property.
      Parameters:
      customProperties - List
    • getAuthoritativeDefinitions

      public List<BitolAuthoritativeDefinition> 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

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class Object
      Returns:
      int