Class IdDto

    • Constructor Detail

      • IdDto

        public IdDto()
    • Method Detail

      • newDto

        public static <BeanType extends IdDto> BeanType newDto​(Class<BeanType> dtoType,
                                                               Date now)
      • findById

        public static <BeanType extends IdDto> BeanType findById​(Collection<BeanType> source,
                                                                 String id)
      • exists

        public static <BeanType extends IdDto> boolean exists​(Collection<BeanType> source,
                                                              String id)
      • newIdPredicate

        public static <BeanType extends IdDtoPredicate<BeanType> newIdPredicate​(String id)
      • getId

        public String getId()
      • setId

        public void setId​(String id)
      • setLastUpdateDate

        public void setLastUpdateDate​(Date lastUpdateDate)
      • isPersisted

        public boolean isPersisted()
      • isNotPersisted

        public boolean isNotPersisted()
      • hashCode

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

        public long getVersion()
      • setVersion

        public final void setVersion​(long version)
      • getCreateDate

        public Date getCreateDate()
      • setCreateDate

        public final void setCreateDate​(Date createDate)
      • toDto

        public <D extends IdDto> void toDto​(D dto)