Class DcatPeriodOfTime
java.lang.Object
org.odpi.openmetadata.frameworks.integration.dcat.properties.DcatPeriodOfTime
DcatPeriodOfTime describes a temporal period covered by a dataset (dct:PeriodOfTime).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the end of the period (dcat:endDate).Return the start of the period (dcat:startDate).inthashCode()Return hash code based on properties.voidsetEndDate(String endDate) Set up the end of the period (dcat:endDate).voidsetStartDate(String startDate) Set up the start of the period (dcat:startDate).toString()Standard toString method.
-
Constructor Details
-
DcatPeriodOfTime
public DcatPeriodOfTime()Default constructor
-
-
Method Details
-
getStartDate
Return the start of the period (dcat:startDate).- Returns:
- string date
-
setStartDate
Set up the start of the period (dcat:startDate).- Parameters:
startDate- string date
-
getEndDate
Return the end of the period (dcat:endDate).- Returns:
- string date
-
setEndDate
Set up the end of the period (dcat:endDate).- Parameters:
endDate- string date
-
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.
-