class StackVersionResourceDefinition extends BaseResourceDefinition {

  @Override
  public Set<SubResourceDefinition> getSubResourceDefinitions() {

    Set<SubResourceDefinition> children = new HashSet<>();

    children.add(new SubResourceDefinition(Resource.Type.OperatingSystem));
    children.add(new SubResourceDefinition(Resource.Type.StackService));
    children.add(new SubResourceDefinition(Resource.Type.StackLevelConfiguration));
    children.add(new SubResourceDefinition(Resource.Type.RepositoryVersion));
    children.add(new SubResourceDefinition(Resource.Type.StackArtifact));
    children.add(new SubResourceDefinition(Resource.Type.CompatibleRepositoryVersion));

    return children;
  }

  public  StackVersionResourceDefinition();

}