public class DefaultRelationRecordVisitor.RelationRecordsContainer extends Object
| Constructor and Description |
|---|
RelationRecordsContainer(RelationMetaInfo metaInfo,
Collection<RemoveManyToManyRelationsRecord> removeRelationsRecords) |
RelationRecordsContainer(RelationMetaInfo metaInfo,
PK languagePk,
Collection<RemoveManyToManyRelationsRecord> removeRelationsRecords) |
| Modifier and Type | Method and Description |
|---|---|
void |
addOneToManyPksToRemove(PK sourcePk,
Set<PK> oneToManyPksToRemove) |
void |
addRecord(InsertManyToManyRelationRecord record) |
void |
addRecord(InsertOneToManyRelationRecord record) |
void |
addRecord(RemoveOneToManyRelationsRecord record) |
void |
collectSourceAndTargetPks(InsertManyToManyRelationRecord record) |
PK |
getLanguagePk() |
RelationMetaInfo |
getMetaInfo() |
Map<PK,Set<PK>> |
getOneToManyPksToRemove() |
Map<PK,List<InsertOneToManyRelationRecord>> |
getOneToManyRelationRecords() |
Collection<RemoveManyToManyRelationsRecord> |
getRemoveRelationsRecords() |
Set<Long> |
getSourcePksAsLongs() |
Map<PK,List<InsertManyToManyRelationRecord>> |
getSourceToTargetRecords() |
Set<Long> |
getTargetPksAsLongs() |
Map<PK,List<InsertManyToManyRelationRecord>> |
getTargetToSourceRecords() |
String |
toString() |
public RelationRecordsContainer(RelationMetaInfo metaInfo, PK languagePk, Collection<RemoveManyToManyRelationsRecord> removeRelationsRecords)
public RelationRecordsContainer(RelationMetaInfo metaInfo, Collection<RemoveManyToManyRelationsRecord> removeRelationsRecords)
public void addRecord(RemoveOneToManyRelationsRecord record)
public void addRecord(InsertOneToManyRelationRecord record)
public void addRecord(InsertManyToManyRelationRecord record)
public void collectSourceAndTargetPks(InsertManyToManyRelationRecord record)
public Map<PK,List<InsertManyToManyRelationRecord>> getSourceToTargetRecords()
public Map<PK,List<InsertManyToManyRelationRecord>> getTargetToSourceRecords()
public Collection<RemoveManyToManyRelationsRecord> getRemoveRelationsRecords()
public Map<PK,List<InsertOneToManyRelationRecord>> getOneToManyRelationRecords()
public PK getLanguagePk()
public RelationMetaInfo getMetaInfo()
Copyright © 2017 SAP SE. All Rights Reserved.