All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.connectifier.xeroclient.models.TrueOrFalse Maven / Gradle / Ivy


package com.connectifier.xeroclient.models;

import java.util.List;

/** 
 * Schema fragment(s) for this class:
 * 
 * <xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="trueOrFalse">
 *   <xs:restriction base="xs:string">
 *     <xs:enumeration value="true"/>
 *     <xs:enumeration value="false"/>
 *   </xs:restriction>
 * </xs:simpleType>
 * 
*/ public enum TrueOrFalse { TRUE("true"), FALSE("false"); private final String value; private TrueOrFalse(String value) { this.value = value; } public String xmlValue() { return value; } public static TrueOrFalse convert(String value) { for (TrueOrFalse inst : values()) { if (inst.xmlValue().equals(value)) { return inst; } } return null; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy