Class TimePeriod
java.lang.Object
de.hybris.platform.b2ctelcotmfresources.v4.dto.TimePeriod
A period of time, either as a deadline (endDateTime only) a startDateTime only, or both
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionatBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) endDateTime(Date endDateTime) booleanWhen sub-classing, this defines the super-classA URI to a JSON-Schema file that defines additional attributes and relationshipsWhen sub-classing, this defines the sub-class entity name@Valid DateEnd of the time period, using IETC-RFC-3339 format@Valid DateStart of the time period, using IETC-RFC-3339 formatinthashCode()voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetEndDateTime(Date endDateTime) voidsetStartDateTime(Date startDateTime) startDateTime(Date startDateTime) toString()
-
Constructor Details
-
TimePeriod
public TimePeriod()
-
-
Method Details
-
endDateTime
-
getEndDateTime
End of the time period, using IETC-RFC-3339 format- Returns:
- endDateTime
-
setEndDateTime
-
startDateTime
-
getStartDateTime
Start of the time period, using IETC-RFC-3339 format- Returns:
- startDateTime
-
setStartDateTime
-
atBaseType
-
getAtBaseType
When sub-classing, this defines the super-class- Returns:
- atBaseType
-
setAtBaseType
-
atSchemaLocation
-
getAtSchemaLocation
A URI to a JSON-Schema file that defines additional attributes and relationships- Returns:
- atSchemaLocation
-
setAtSchemaLocation
-
atType
-
getAtType
When sub-classing, this defines the sub-class entity name- Returns:
- atType
-
setAtType
-
equals
-
hashCode
public int hashCode() -
toString
-