Package cz.o2.proxima.core.transaction
Class KeyAttribute
- java.lang.Object
-
- cz.o2.proxima.core.transaction.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 Summary
Constructors Constructor Description KeyAttribute(EntityDescriptor entity, java.lang.String key, AttributeDescriptor<?> attributeDescriptor, long sequentialId, boolean delete, java.lang.String attributeSuffix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)AttributeDescriptor<?>getAttributeDescriptor()java.util.Optional<java.lang.String>getAttributeSuffix()EntityDescriptorgetEntity()java.lang.StringgetKey()longgetSequentialId()inthashCode()booleanisDelete()booleanisWildcardQuery()java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getEntity
public EntityDescriptor getEntity()
-
getKey
public java.lang.String getKey()
-
getAttributeDescriptor
public AttributeDescriptor<?> getAttributeDescriptor()
-
getSequentialId
public long getSequentialId()
-
isDelete
public boolean isDelete()
-
-