au.org.consumerdatastandards.support.model.DataDefinitionModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-model Show documentation
Show all versions of api-model Show documentation
This artefact describes the Consumer Data Standards using Java classes and annotations in a way suitable for automatic generation of Open API Specification, documentation, Server Stub, Client Libraries and Reference Test.
package au.org.consumerdatastandards.support.model;
import au.org.consumerdatastandards.support.data.DataDefinition;
public class DataDefinitionModel extends ModelBase {
private final DataDefinition dataDefinition;
private final Class dataType;
public DataDefinitionModel(DataDefinition dataDefinition, Class dataType) {
this.dataDefinition = dataDefinition;
this.dataType = dataType;
}
public DataDefinition getDataDefinition() {
return dataDefinition;
}
public Class getDataType() {
return dataType;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy