java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.ORMetadata
org.eclipse.persistence.internal.jpa.metadata.cache.TimeOfDayMetadata

public class TimeOfDayMetadata extends ORMetadata
Object to hold onto time of day metadata. Key notes: - any metadata mapped from XML to this class must be compared in the equals method. - when loading from annotations, the constructor accepts the metadata accessor this metadata was loaded from. Used it to look up any 'companion' annotation needed for processing. - methods should be preserved in alphabetical order.
Since:
TopLink 11g
  • Constructor Details

    • TimeOfDayMetadata

      public TimeOfDayMetadata()
      INTERNAL: Used for XML loading.
    • TimeOfDayMetadata

      public TimeOfDayMetadata(MetadataAnnotation timeOfDay, MetadataAccessor accessor)
      INTERNAL: Used for annotation loading.
  • Method Details

    • equals

      public boolean equals(Object objectToCompare)
      INTERNAL:
      Specified by:
      equals in class ORMetadata
    • hashCode

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

      public Integer getHour()
      INTERNAL: Used for OX mapping.
    • getMillisecond

      public Integer getMillisecond()
      INTERNAL: Used for OX mapping.
    • getMinute

      public Integer getMinute()
      INTERNAL: Used for OX mapping.
    • getSecond

      public Integer getSecond()
      INTERNAL: Used for OX mapping.
    • processHour

      public Integer processHour()
      INTERNAL:
    • processMillisecond

      public Integer processMillisecond()
      INTERNAL:
    • processMinute

      public Integer processMinute()
      INTERNAL:
    • processSecond

      public Integer processSecond()
      INTERNAL:
    • setHour

      public void setHour(Integer hour)
      INTERNAL: Used for OX mapping.
    • setMillisecond

      public void setMillisecond(Integer millisecond)
      INTERNAL: Used for OX mapping.
    • setMinute

      public void setMinute(Integer minute)
      INTERNAL: Used for OX mapping.
    • setSecond

      public void setSecond(Integer second)
      INTERNAL: Used for OX mapping.