Class AbstractRelationRecord
- java.lang.Object
-
- de.hybris.platform.directpersistence.record.impl.AbstractRelationRecord
-
- All Implemented Interfaces:
Record,RelationRecord
- Direct Known Subclasses:
DefaultInsertManyToManyRelationRecord,DefaultRemoveManyToManyRelationsRecord
public abstract class AbstractRelationRecord extends java.lang.Object implements RelationRecord
Abstract relation record.
-
-
Field Summary
Fields Modifier and Type Field Description protected booleansrcToTgt
-
Constructor Summary
Constructors Constructor Description AbstractRelationRecord(boolean srcToTgt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()booleanisSrcToTgt()Gets flag if relation is extracted from source to target.
-
-
-
Method Detail
-
isSrcToTgt
public boolean isSrcToTgt()
Description copied from interface:RelationRecordGets flag if relation is extracted from source to target.- Specified by:
isSrcToTgtin interfaceRelationRecord- Returns:
true, in case of source to target direction,false- the opposite way
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-