> For the complete documentation index, see [llms.txt](https://trillo.gitbook.io/trillo-workbench-java-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trillo.gitbook.io/trillo-workbench-java-sdk/meta-api-metaapi/retrieve-apis.md).

# All Retrieve-Only

## getAppDataDir

Locate and get the application data directory&#x20;

```
MetaApi.getAppDataDir()
```

**Parameters**

```
no parameters.
```

**Returns**

```
application data directory​
```

## getClassM

Get the object representing the class​

```
MetaApi.getClassM(String className)
```

Parameters

```
className: name of the class
```

Returns

```
the object representing the class​
```

## getSchemaForDataStudio

Get class schema​ for the data studio

```
MetaApi.getSchemaForDataStudio(String className, boolean includeAllSysAttrs)
```

**Parameters**

```
className:          name of the class
includeAllSysAttrs:  include all system attributes
```

**Returns**

```
the schema object​ for the data studio
```

## getDomainFileAsMap

get domain file as a hashmap.​

```
MetaApi.getDomainFileAsMap(String fileName)
```

**Parameters**

```
fileName:    name of the file
```

**Returns**

```
hashmap of the file​
```

## getMetadata

get metadata from id

```
MetaApi.getMetadata(String id)
or
MetaApi.getMetadata(String modelClassName, String folder, String name) 
```

**Parameters**

```
id
```

**Returns**

```
Object
```

## getClasses

get classes

```
MetaApi.getClasses(String filter)
or
MetaApi.getClasses(String dsName, String filter)
or
MetaApi.getClasses(String dsName, String schemaName, String filter)
or
MetaApi.getClasses(String appName, String dsName, String schemaName, String filter)
```

**Parameters**

```
filter
dsName
schemaName
appName
```

**Returns**

```
Object
```

## getClassNames

get classes

```
MetaApi.getClassNames(String filter)
or
MetaApi.getClassNames(String dsName, String filter)
or
MetaApi.getClassNames(String dsName, String schemaName, String filter)
or
MetaApi. getClassNames(String appName, String dsName, String schemaName, String filter)
```

**Parameters**

```
filter
dsName
schemaName
appName
```

**Returns**

```
List<String>
```

## getDataSourceNames

get data source names

```
MetaApi.getDataSourceNames(String filter)
or
MetaApi.getDataSourceNames(String appName, String filter)
```

**Parameters**

```
filter
appName
```

**Returns**

```
List<String>
```

## getDataSources

get data sources

```
MetaApi.getDataSources(String filter)
or
MetaApi.getDataSources(String appName, String filter)
```

**Parameters**

```
filter
appName
```

**Returns**

```
List<DataSourceM>
```
