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

import com.capgemini.framework.teamcenter.object.pom.workspace.bom.TcBomObject;
import com.teamcenter.soa.client.model.strong.Item;
import lombok.Getter;

import static com.teamcenter.services.strong.cad._2013_05.StructureManagement.CreateWindowsInfo2;

@Getter
public class TcGeneric implements TcGenericPv, TcBomObject {
    private final Item item;

    public TcGeneric(final Item item) {
        this.item = item;
    }

    @Override
    public void addInfo(final CreateWindowsInfo2 createWindowsInfo2) {
        createWindowsInfo2.item = item;
    }
}
