Class MimetypeEntity

java.lang.Object
org.alfresco.repo.domain.mimetype.MimetypeEntity

public class MimetypeEntity extends Object
Entity bean for alf_mimetype table.

These are unique (see equals and hashCode) based on the mimetype value.

Since:
3.2
Author:
Derek Hulley
  • Field Details

    • CONST_LONG_ZERO

      public static final Long CONST_LONG_ZERO
  • Constructor Details

    • MimetypeEntity

      public MimetypeEntity()
  • Method Details

    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • incrementVersion

      public void incrementVersion()
    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • getVersion

      public Long getVersion()
    • setVersion

      public void setVersion(Long version)
    • getMimetype

      public String getMimetype()
    • setMimetype

      public void setMimetype(String mimetype)