Class EntityReferenceImpl

java.lang.Object
org.infinispan.search.mapper.common.impl.EntityReferenceImpl
All Implemented Interfaces:
org.hibernate.search.engine.common.EntityReference

public class EntityReferenceImpl extends Object implements org.hibernate.search.engine.common.EntityReference
  • Constructor Details

    • EntityReferenceImpl

      public EntityReferenceImpl(org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeIdentifier<?> typeIdentifier, String name, Object id)
  • Method Details

    • withDefaultName

      public static org.hibernate.search.engine.common.EntityReference withDefaultName(Class<?> type, Object id)
    • type

      public Class<?> type()
      Specified by:
      type in interface org.hibernate.search.engine.common.EntityReference
    • name

      public String name()
      Specified by:
      name in interface org.hibernate.search.engine.common.EntityReference
    • id

      public Object id()
      Specified by:
      id in interface org.hibernate.search.engine.common.EntityReference
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object