Exemple #1
0
 @Override
 public RelationData introduce(IOseeBranch destination, RelationData source) {
   RelationData newVersion = objectFactory.createCopy(source);
   newVersion.setUseBackingData(true);
   updateDataForIntroduce(destination, newVersion);
   return newVersion;
 }
Exemple #2
0
 @Override
 public AttributeData introduce(IOseeBranch destination, AttributeData source)
     throws OseeCoreException {
   AttributeData newVersion = objectFactory.createCopy(source);
   newVersion.setUseBackingData(true);
   updateDataForIntroduce(destination, newVersion);
   return newVersion;
 }
Exemple #3
0
 @Override
 public ArtifactData copy(IOseeBranch destination, ArtifactData source) throws OseeCoreException {
   ArtifactData copy = objectFactory.createCopy(source);
   updateDataForCopy(destination, copy);
   copy.setGuid(idFactory.getUniqueGuid(null));
   copy.setLocalId(idFactory.getNextArtifactId());
   return copy;
 }
Exemple #4
0
 @Override
 public AttributeData copy(IOseeBranch destination, AttributeData orcsData)
     throws OseeCoreException {
   AttributeData copy = objectFactory.createCopy(orcsData);
   updateDataForCopy(destination, copy);
   copy.setLocalId(RelationalConstants.DEFAULT_ITEM_ID);
   return copy;
 }
Exemple #5
0
 @Override
 public RelationData clone(RelationData source) throws OseeCoreException {
   return objectFactory.createCopy(source);
 }
Exemple #6
0
 @Override
 public AttributeData clone(AttributeData source) throws OseeCoreException {
   return objectFactory.createCopy(source);
 }
Exemple #7
0
 @Override
 public ArtifactData clone(ArtifactData source) {
   return objectFactory.createCopy(source);
 }