Class DefaultInsertManyToManyRelationRecord
java.lang.Object
de.hybris.platform.directpersistence.record.impl.AbstractRelationRecord
de.hybris.platform.directpersistence.record.impl.DefaultInsertManyToManyRelationRecord
- All Implemented Interfaces:
InsertManyToManyRelationRecord,Record,RelationRecord
- Direct Known Subclasses:
DefaultInsertOneToManyRelationRecord
public class DefaultInsertManyToManyRelationRecord
extends AbstractRelationRecord
implements InsertManyToManyRelationRecord
Insert relation record which is used to represent inserting a relation link in changeset.
-
Field Summary
Fields inherited from class de.hybris.platform.directpersistence.record.impl.AbstractRelationRecord
srcToTgt -
Constructor Summary
ConstructorsConstructorDescriptionDefaultInsertManyToManyRelationRecord(PK sourcePk, PK targetPk, boolean src2tgt) -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets source PK.Gets source to target position for ordering.Gets target PK.Gets target to source position for ordering.inthashCode()voidsetSourceToTargetPosition(Integer sourceToTargetPosition) Sets the source to target position.voidsetTargetToSourcePosition(Integer targetToSourcePosition) Sets the target to source position.toString()Methods inherited from class de.hybris.platform.directpersistence.record.impl.AbstractRelationRecord
isSrcToTgtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface de.hybris.platform.directpersistence.record.RelationRecord
isSrcToTgt
-
Constructor Details
-
DefaultInsertManyToManyRelationRecord
-
-
Method Details
-
getSourcePk
Description copied from interface:InsertManyToManyRelationRecordGets source PK.- Specified by:
getSourcePkin interfaceInsertManyToManyRelationRecord
-
getTargetPk
Description copied from interface:InsertManyToManyRelationRecordGets target PK.- Specified by:
getTargetPkin interfaceInsertManyToManyRelationRecord
-
setSourceToTargetPosition
Description copied from interface:InsertManyToManyRelationRecordSets the source to target position.- Specified by:
setSourceToTargetPositionin interfaceInsertManyToManyRelationRecord- Parameters:
sourceToTargetPosition- Source to target position
-
getSourceToTargetPosition
Description copied from interface:InsertManyToManyRelationRecordGets source to target position for ordering.- Specified by:
getSourceToTargetPositionin interfaceInsertManyToManyRelationRecord- Returns:
- source to target position. Could be
nullif position is not known or not applicable
-
setTargetToSourcePosition
Description copied from interface:InsertManyToManyRelationRecordSets the target to source position.- Specified by:
setTargetToSourcePositionin interfaceInsertManyToManyRelationRecord- Parameters:
targetToSourcePosition- Target to source position
-
getTargetToSourcePosition
Description copied from interface:InsertManyToManyRelationRecordGets target to source position for ordering.- Specified by:
getTargetToSourcePositionin interfaceInsertManyToManyRelationRecord- Returns:
- target to source position. Could be
nullif position is not known or not applicable
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractRelationRecord
-
equals
- Overrides:
equalsin classAbstractRelationRecord
-
toString
-