com.glookast.commons.timecode.TimecodeSource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-capture-playout Show documentation
Show all versions of api-capture-playout Show documentation
Generated artifacts used for interfacing with Glookast Products
package com.glookast.commons.timecode;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for TimecodeSource.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="TimecodeSource">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="ltc"/>
* <enumeration value="vitc"/>
* <enumeration value="tod"/>
* <enumeration value="rs422"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "TimecodeSource", namespace = "http://timecode.commons.glookast.com")
@XmlEnum
public enum TimecodeSource {
@XmlEnumValue("ltc")
LTC("ltc"),
@XmlEnumValue("vitc")
VITC("vitc"),
@XmlEnumValue("tod")
TOD("tod"),
@XmlEnumValue("rs422")
RS_422("rs422");
private final String value;
TimecodeSource(String v) {
value = v;
}
public String value() {
return value;
}
public static TimecodeSource fromValue(String v) {
for (TimecodeSource c: TimecodeSource.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}