Ejemplo n.º 1
0
 /**
  * Returns a {@code DescribeOptions} that behaves like the current one, except that
  * project-specific metadata will be retrieved from the specified project or container. Attempts
  * to invoke accessors on the resulting {@link Describe} object corresponding to fields that
  * were not requested will throw {@link IllegalStateException}.
  *
  * @param project project or container from which to obtain project-specific metadata
  * @return a new {@code DescribeOptions} object
  */
 public DescribeOptions inProject(DXContainer project) {
   return new DescribeOptions(project.getId(), this.fields, this.properties, this.details);
 }