class DASpecification {

    public static TArtifactType getArtifactTypeOfDA(TDeploymentArtifact deploymentArtifact) {
        QName DAArtifactTypeQName = deploymentArtifact.getArtifactType();
        ArtifactTypeId artifactTypeId = new ArtifactTypeId(DAArtifactTypeQName);
        TArtifactType artifactType = RepositoryFactory.getRepository().getElement(artifactTypeId);
        return artifactType;
    }

}