Class DefaultRemoveManyToManyRelationsRecord
- java.lang.Object
-
- de.hybris.platform.directpersistence.record.impl.AbstractRelationRecord
-
- de.hybris.platform.directpersistence.record.impl.DefaultRemoveManyToManyRelationsRecord
-
- All Implemented Interfaces:
Record,RelationRecord,RemoveManyToManyRelationsRecord
public class DefaultRemoveManyToManyRelationsRecord extends AbstractRelationRecord implements RemoveManyToManyRelationsRecord
Useful for removing all relations between models. This record may come only when links must be cleared completely.
-
-
Field Summary
Fields Modifier and Type Field Description protected PKpk-
Fields inherited from class de.hybris.platform.directpersistence.record.impl.AbstractRelationRecord
srcToTgt
-
-
Constructor Summary
Constructors Constructor Description DefaultRemoveManyToManyRelationsRecord(PK pk, boolean srcToTgs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)PKgetPk()Returns PK for which relations will be removed.inthashCode()java.lang.StringtoString()-
Methods inherited from class de.hybris.platform.directpersistence.record.impl.AbstractRelationRecord
isSrcToTgt
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.directpersistence.record.RelationRecord
isSrcToTgt
-
-
-
-
Field Detail
-
pk
protected final PK pk
-
-
Constructor Detail
-
DefaultRemoveManyToManyRelationsRecord
public DefaultRemoveManyToManyRelationsRecord(PK pk, boolean srcToTgs)
-
-
Method Detail
-
getPk
public PK getPk()
Description copied from interface:RemoveManyToManyRelationsRecordReturns PK for which relations will be removed.- Specified by:
getPkin interfaceRemoveManyToManyRelationsRecord
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classAbstractRelationRecord
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractRelationRecord
-
-