com.codbex.kronos.parser.hdbcalculationview.ndb.basemodelbase.Cardinality Maven / Gradle / Ivy
The newest version!
/*
* Copyright (c) 2022 codbex or an codbex affiliate company and contributors
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* SPDX-FileCopyrightText: 2022 codbex or an codbex affiliate company and contributors
* SPDX-License-Identifier: EPL-2.0
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.11.26 at 10:54:28 AM EET
//
package com.codbex.kronos.parser.hdbcalculationview.ndb.basemodelbase;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Cardinality.
*
* The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="Cardinality">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="C1_1"/>
* <enumeration value="C1_N"/>
* <enumeration value="CN_1"/>
* <enumeration value="CN_N"/>
* </restriction>
* </simpleType>
*
*/
@XmlType(name = "Cardinality")
@XmlEnum
public enum Cardinality {
/** The c 1 1. */
@XmlEnumValue("C1_1")
C_1_1("C1_1"),
/** The c 1 n. */
@XmlEnumValue("C1_N")
C_1_N("C1_N"),
/** The cn 1. */
CN_1("CN_1"),
/** The cn n. */
CN_N("CN_N");
/** The value. */
private final String value;
/**
* Instantiates a new cardinality.
*
* @param v the v
*/
Cardinality(String v) {
value = v;
}
/**
* From value.
*
* @param v the v
* @return the cardinality
*/
public static Cardinality fromValue(String v) {
for (Cardinality c : Cardinality.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
/**
* Value.
*
* @return the string
*/
public String value() {
return value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy