checkValidity method
Classes can implement this to check the validity.
If the component missed required information, throw a FormatException with details.
Implementation
@override
void checkValidity() {
super.checkValidity();
checkMandatoryProperty(TextProperty.propertyNameUid);
checkMandatoryProperty(DateTimeProperty.propertyNameTimeStamp);
}