org.joinedworkz.common.info.MergedResourceOperationPart Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common-base Show documentation
Show all versions of common-base Show documentation
DSL based modeling framework - facilities common base
package org.joinedworkz.common.info;
import org.eclipse.xtend.lib.annotations.Accessors;
import org.eclipse.xtext.xbase.lib.Pure;
import org.joinedworkz.core.model.CmnContent;
import org.joinedworkz.core.model.CmnResourceOperation;
@Accessors
@SuppressWarnings("all")
public class MergedResourceOperationPart {
private final CmnResourceOperation operation;
private final CmnContent consumes;
private final CmnContent produces;
public MergedResourceOperationPart(final CmnResourceOperation operation, final CmnContent consumes, final CmnContent produces) {
super();
this.operation = operation;
this.consumes = consumes;
this.produces = produces;
}
@Pure
public CmnResourceOperation getOperation() {
return this.operation;
}
@Pure
public CmnContent getConsumes() {
return this.consumes;
}
@Pure
public CmnContent getProduces() {
return this.produces;
}
}