Java Code Examples for org.jpmml.model.ReflectionUtil#copyState()

The following examples show how to use org.jpmml.model.ReflectionUtil#copyState() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CustomPMML.java    From jpmml-model with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
public CustomPMML(PMML pmml){
	super();

	ReflectionUtil.copyState(pmml, this);
}
 
Example 2
Source File: CustomSimplePredicate.java    From jpmml-model with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
public CustomSimplePredicate(SimplePredicate simplePredicate){
	super();

	ReflectionUtil.copyState(simplePredicate, this);
}
 
Example 3
Source File: RichOutputField.java    From jpmml-evaluator with GNU Affero General Public License v3.0 4 votes vote down vote up
public RichOutputField(OutputField outputField){
	ReflectionUtil.copyState(outputField, this);
}
 
Example 4
Source File: RichDataField.java    From jpmml-evaluator with GNU Affero General Public License v3.0 4 votes vote down vote up
public RichDataField(DataField dataField){
	ReflectionUtil.copyState(dataField, this);
}
 
Example 5
Source File: RichDerivedField.java    From jpmml-evaluator with GNU Affero General Public License v3.0 4 votes vote down vote up
public RichDerivedField(DerivedField derivedField){
	ReflectionUtil.copyState(derivedField, this);
}
 
Example 6
Source File: RichBaseCumHazardTables.java    From jpmml-evaluator with GNU Affero General Public License v3.0 4 votes vote down vote up
public RichBaseCumHazardTables(DataType dataType, BaseCumHazardTables baseCumHazardTables){
	setDataType(dataType);

	ReflectionUtil.copyState(baseCumHazardTables, this);
}
 
Example 7
Source File: RichBayesInput.java    From jpmml-evaluator with GNU Affero General Public License v3.0 4 votes vote down vote up
public RichBayesInput(DataType dataType, BayesInput bayesInput){
	setDataType(dataType);

	ReflectionUtil.copyState(bayesInput, this);
}