org.kurento.client.Fraction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kurento-client Show documentation
Show all versions of kurento-client Show documentation
Kurento Client
The Kurento Client project allows server applications to control media server resources.
/**
* This file is generated with Kurento ktool-rom-processor.
* Please don't edit. Changes should go to kms-interface-rom and
* ktool-rom-processor templates.
*/
package org.kurento.client;
/**
*
* Type that represents a fraction of an integer numerator over an integer denominator
*
**/
@org.kurento.client.internal.ModuleName ("kurento")
public class Fraction {
/**
*
* the numerator of the fraction
*
**/
private int numerator;
/**
*
* the denominator of the fraction
*
**/
private int denominator;
/**
*
* Default private constructor of Fraction for serialization with Jackson
*
**/
protected Fraction() {
super();
}
/**
*
* Create a Fraction
*
**/
public Fraction(@org.kurento.client.internal.server.Param("numerator") int numerator, @org.kurento.client.internal.server.Param("denominator") int denominator) {
super();
this.numerator = numerator;
this.denominator = denominator;
}
/**
*
* get the numerator of the fraction
*
**/
public int getNumerator(){
return numerator;
}
/**
*
* set the numerator of the fraction
*
**/
public void setNumerator(int numerator){
this.numerator = numerator;
}
/**
*
* get the denominator of the fraction
*
**/
public int getDenominator(){
return denominator;
}
/**
*
* set the denominator of the fraction
*
**/
public void setDenominator(int denominator){
this.denominator = denominator;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy