com.github.TKnudsen.ComplexDataObject.model.tools.ComplexDataObjectFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of complex-data-object Show documentation
Show all versions of complex-data-object Show documentation
A library that models real-world objects in Java, referred to as ComplexDataObjects. Other features: IO and preprocessing of ComplexDataObjects.
package com.github.TKnudsen.ComplexDataObject.model.tools;
import com.github.TKnudsen.ComplexDataObject.data.complexDataObject.ComplexDataObject;
/**
*
* Title: ComplexDataObjectFactory
*
*
*
* Description:
*
*
*
* Copyright: Copyright (c) 2016
*
*
* @author Juergen Bernard
* @version 1.01
*/
public class ComplexDataObjectFactory {
public static ComplexDataObject createObject(String attribute1, Object value1, String attribute2, Object value2) {
ComplexDataObject a = new ComplexDataObject();
a.add(attribute1, value1);
a.add(attribute2, value2);
return a;
}
}