java.lang.Object
de.hybris.platform.b2ctelcotmfresources.v4.dto.TimePeriod

public class TimePeriod extends Object
A period of time, either as a deadline (endDateTime only) a startDateTime only, or both
  • Constructor Details

    • TimePeriod

      public TimePeriod()
  • Method Details

    • endDateTime

      public TimePeriod endDateTime(Date endDateTime)
    • getEndDateTime

      @Valid public @Valid Date getEndDateTime()
      End of the time period, using IETC-RFC-3339 format
      Returns:
      endDateTime
    • setEndDateTime

      public void setEndDateTime(Date endDateTime)
    • startDateTime

      public TimePeriod startDateTime(Date startDateTime)
    • getStartDateTime

      @Valid public @Valid Date getStartDateTime()
      Start of the time period, using IETC-RFC-3339 format
      Returns:
      startDateTime
    • setStartDateTime

      public void setStartDateTime(Date startDateTime)
    • atBaseType

      public TimePeriod atBaseType(String atBaseType)
    • getAtBaseType

      public String getAtBaseType()
      When sub-classing, this defines the super-class
      Returns:
      atBaseType
    • setAtBaseType

      public void setAtBaseType(String atBaseType)
    • atSchemaLocation

      public TimePeriod atSchemaLocation(String atSchemaLocation)
    • getAtSchemaLocation

      public String getAtSchemaLocation()
      A URI to a JSON-Schema file that defines additional attributes and relationships
      Returns:
      atSchemaLocation
    • setAtSchemaLocation

      public void setAtSchemaLocation(String atSchemaLocation)
    • atType

      public TimePeriod atType(String atType)
    • getAtType

      public String getAtType()
      When sub-classing, this defines the sub-class entity name
      Returns:
      atType
    • setAtType

      public void setAtType(String atType)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object