Class KeyAttribute

  • All Implemented Interfaces:
    java.io.Serializable

    @Experimental
    public class KeyAttribute
    extends java.lang.Object
    implements java.io.Serializable
    A combination of key of an entity, attribute descriptor and (optional) specific attribute. The specific attribute is needed when this object needs to describe a specific attribute of wildcard attribute descriptor.
    See Also:
    Serialized Form
    • Constructor Detail

      • KeyAttribute

        public KeyAttribute​(EntityDescriptor entity,
                            java.lang.String key,
                            AttributeDescriptor<?> attributeDescriptor,
                            long sequentialId,
                            boolean delete,
                            @Nullable
                            java.lang.String attributeSuffix)
    • Method Detail

      • getAttributeSuffix

        public java.util.Optional<java.lang.String> getAttributeSuffix()
      • isWildcardQuery

        public boolean isWildcardQuery()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getKey

        public java.lang.String getKey()
      • getSequentialId

        public long getSequentialId()
      • isDelete

        public boolean isDelete()