Class ProtobufKeyValueTypeModel

java.lang.Object
org.infinispan.query.remote.impl.mapping.model.ProtobufKeyValueTypeModel
All Implemented Interfaces:
org.hibernate.search.engine.mapper.model.spi.MappableTypeModel, org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeModel<ProtobufKeyValuePair>, org.hibernate.search.mapper.pojo.model.spi.PojoTypeModel<ProtobufKeyValuePair>

public class ProtobufKeyValueTypeModel extends Object implements org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeModel<ProtobufKeyValuePair>
  • Constructor Details

    • ProtobufKeyValueTypeModel

      public ProtobufKeyValueTypeModel(org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeModel<ProtobufKeyValuePair> superType, String name)
  • Method Details

    • typeIdentifier

      public org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeIdentifier<ProtobufKeyValuePair> typeIdentifier()
      Specified by:
      typeIdentifier in interface org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeModel<ProtobufKeyValuePair>
    • isAbstract

      public boolean isAbstract()
      Specified by:
      isAbstract in interface org.hibernate.search.engine.mapper.model.spi.MappableTypeModel
    • isSubTypeOf

      public boolean isSubTypeOf(org.hibernate.search.engine.mapper.model.spi.MappableTypeModel superTypeCandidate)
      Specified by:
      isSubTypeOf in interface org.hibernate.search.engine.mapper.model.spi.MappableTypeModel
    • ascendingSuperTypes

      public Stream<? extends org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeModel<? super ProtobufKeyValuePair>> ascendingSuperTypes()
      Specified by:
      ascendingSuperTypes in interface org.hibernate.search.engine.mapper.model.spi.MappableTypeModel
      Specified by:
      ascendingSuperTypes in interface org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeModel<ProtobufKeyValuePair>
    • descendingSuperTypes

      public Stream<? extends org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeModel<? super ProtobufKeyValuePair>> descendingSuperTypes()
      Specified by:
      descendingSuperTypes in interface org.hibernate.search.engine.mapper.model.spi.MappableTypeModel
      Specified by:
      descendingSuperTypes in interface org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeModel<ProtobufKeyValuePair>
    • annotations

      public Stream<Annotation> annotations()
      Specified by:
      annotations in interface org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeModel<ProtobufKeyValuePair>
    • mainConstructor

      public org.hibernate.search.mapper.pojo.model.spi.PojoConstructorModel<ProtobufKeyValuePair> mainConstructor()
      Specified by:
      mainConstructor in interface org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeModel<ProtobufKeyValuePair>
    • constructor

      public org.hibernate.search.mapper.pojo.model.spi.PojoConstructorModel<ProtobufKeyValuePair> constructor(Class<?>... parameterTypes)
      Specified by:
      constructor in interface org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeModel<ProtobufKeyValuePair>
    • declaredConstructors

      public Collection<org.hibernate.search.mapper.pojo.model.spi.PojoConstructorModel<ProtobufKeyValuePair>> declaredConstructors()
      Specified by:
      declaredConstructors in interface org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeModel<ProtobufKeyValuePair>
    • declaredProperties

      public Collection<org.hibernate.search.mapper.pojo.model.spi.PojoPropertyModel<?>> declaredProperties()
      Specified by:
      declaredProperties in interface org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeModel<ProtobufKeyValuePair>
    • cast

      public org.hibernate.search.mapper.pojo.model.spi.PojoTypeModel<? extends ProtobufKeyValuePair> cast(org.hibernate.search.mapper.pojo.model.spi.PojoTypeModel<?> other)
      Specified by:
      cast in interface org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeModel<ProtobufKeyValuePair>
    • caster

      public org.hibernate.search.mapper.pojo.model.spi.PojoCaster<ProtobufKeyValuePair> caster()
      Specified by:
      caster in interface org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeModel<ProtobufKeyValuePair>
    • name

      public String name()
      Specified by:
      name in interface org.hibernate.search.engine.mapper.model.spi.MappableTypeModel
      Specified by:
      name in interface org.hibernate.search.mapper.pojo.model.spi.PojoTypeModel<ProtobufKeyValuePair>
    • rawType

      public org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeModel<ProtobufKeyValuePair> rawType()
      Specified by:
      rawType in interface org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeModel<ProtobufKeyValuePair>
      Specified by:
      rawType in interface org.hibernate.search.mapper.pojo.model.spi.PojoTypeModel<ProtobufKeyValuePair>
    • property

      public org.hibernate.search.mapper.pojo.model.spi.PojoPropertyModel<?> property(String propertyName)
      Specified by:
      property in interface org.hibernate.search.mapper.pojo.model.spi.PojoTypeModel<ProtobufKeyValuePair>
    • castTo

      public <U> Optional<org.hibernate.search.mapper.pojo.model.spi.PojoTypeModel<? extends U>> castTo(Class<U> target)
      Specified by:
      castTo in interface org.hibernate.search.mapper.pojo.model.spi.PojoTypeModel<ProtobufKeyValuePair>
    • typeArgument

      public Optional<? extends org.hibernate.search.mapper.pojo.model.spi.PojoTypeModel<?>> typeArgument(Class<?> rawSuperType, int typeParameterIndex)
      Specified by:
      typeArgument in interface org.hibernate.search.mapper.pojo.model.spi.PojoTypeModel<ProtobufKeyValuePair>
    • arrayElementType

      public Optional<? extends org.hibernate.search.mapper.pojo.model.spi.PojoTypeModel<?>> arrayElementType()
      Specified by:
      arrayElementType in interface org.hibernate.search.mapper.pojo.model.spi.PojoTypeModel<ProtobufKeyValuePair>
    • toString

      public String toString()
      Specified by:
      toString in interface org.hibernate.search.engine.mapper.model.spi.MappableTypeModel
      Specified by:
      toString in interface org.hibernate.search.mapper.pojo.model.spi.PojoTypeModel<ProtobufKeyValuePair>
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in interface org.hibernate.search.engine.mapper.model.spi.MappableTypeModel
      Specified by:
      equals in interface org.hibernate.search.mapper.pojo.model.spi.PojoTypeModel<ProtobufKeyValuePair>
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface org.hibernate.search.engine.mapper.model.spi.MappableTypeModel
      Specified by:
      hashCode in interface org.hibernate.search.mapper.pojo.model.spi.PojoTypeModel<ProtobufKeyValuePair>
      Overrides:
      hashCode in class Object