Class DateSlot<T>
java.lang.Object
org.incenp.obofoundry.sssom.slots.Slot<T>
org.incenp.obofoundry.sssom.slots.DateSlot<T>
- Type Parameters:
- T- The type of SSSOM object the slot is associated with.
Represents a metadata slot that holds a date.
- 
Method SummaryMethods inherited from class org.incenp.obofoundry.sssom.slots.Slotaccept, getCompliantVersion, getName, getType, getURI, getValue, isEntityReference, isPropagatable, isURI, setValue
- 
Method Details- 
acceptDescription copied from class:SlotAccepts a visitor.
- 
setValueParses a string value into a date and assigns it to the slot for the given object.If the string represents a datetime rather than just a date, the time part is ignored. - Overrides:
- setValuein class- Slot<T>
- Parameters:
- object- The object (e.g. a mapping or a mapping set) for which the slot should be set.
- value- The value to assign to the slot on the given object.
- Throws:
- DateTimeParseException- If the given string does not contain a valid date or datetime.
 
 
-