DXDataObject extends DXObject { public static DXDataObject getInstance(String objectId) { return getInstanceWithEnvironment(objectId, DXEnvironment.create()); } protected  DXDataObject(String dxId, String className, DXContainer project, DXEnvironment env,
            JsonNode cachedDescribe); protected  DXDataObject(String dxId, String className, DXEnvironment env, JsonNode cachedDescribe); static DXDataObject getInstance(String objectId); static DXDataObject getInstance(String objectId, DXContainer project); static DXDataObject getInstanceWithEnvironment(String objectId, DXContainer project,
            DXEnvironment env); static DXDataObject getInstanceWithEnvironment(String objectId, DXEnvironment env); void addTags(List<String> tags); void addTypes(List<String> types); DXDataObject close(); DXDataObject closeAndWait(); Describe describe(); Describe describe(DescribeOptions options); @Override boolean equals(Object obj); Describe getCachedDescribe(); @JsonValue JsonNode getLinkAsJson(); DXContainer getProject(); @Override int hashCode(); Map<DXContainer, AccessLevel> listProjects(); void putAllProperties(Map<String, String> properties); void putAllProperties(Map<String, String> propertiesToSet,
            List<String> propertiesToRemove); void putProperty(String key, String value); void removeProperty(String key); void removeTags(List<String> tags); void removeTypes(List<String> types); void rename(String newName); void setDetails(Object details); void setVisibility(boolean visible);  }
@Test public void testIdChecking() { try { DXRecord.getInstance("record-00001111222233334444"); Assert.fail("Expected IllegalArgumentException to be thrown because ID was invalid"); } catch (IllegalArgumentException e) { } try { DXRecord.getInstance("file-000011112222333344445555"); Assert.fail("Expected IllegalArgumentException to be thrown because ID was invalid"); } catch (IllegalArgumentException e) { } }