Skip to content

Instantly share code, notes, and snippets.

@gcarre
Last active December 16, 2015 20:19
Show Gist options
  • Save gcarre/5491474 to your computer and use it in GitHub Desktop.
Save gcarre/5491474 to your computer and use it in GitHub Desktop.
public class CanonicalDataModel {
public List<ObjectDefinition> objects;
}
public class ObjectDefinition {
public String name;
public String id;
public List<ObjectField> fields;
public List<ObjectDefinition> associations;
public boolean attachmentType;
}
public class ObjectField {
public String name;
public String type;
}
class CDMService {
public CanonicalDataModel loadModel();
public CDMService() {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment