package com.capgemini.framework.teamcenter.object.pom.workspace.bom.part;

import com.capgemini.framework.teamcenter.object.pom.workspace.bom.TcBomObject;
import com.teamcenter.services.strong.cad._2013_05.StructureManagement;
import com.teamcenter.soa.client.model.strong.ItemRevision;

public class TcDetRevision implements TcBomObject {
    private final ItemRevision itemRevision;

    public TcDetRevision(final ItemRevision itemRevision) {
        this.itemRevision = itemRevision;
    }

    @Override
    public void addInfo(StructureManagement.CreateWindowsInfo2 createWindowsInfo2) {
        createWindowsInfo2.itemRev = itemRevision;
    }
}
