org.dmd.dmp.shared.generated.types.DmcTypeResponseTypeEnumSTATIC Maven / Gradle / Ivy
Show all versions of dark-matter-data Show documentation
// ---------------------------------------------------------------------------
// dark-matter-data
// Copyright (c) 2010-2021 dark-matter-data committers
// ---------------------------------------------------------------------------
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License as published by the
// Free Software Foundation; either version 3 of the License, or (at your
// option) any later version.
// This program is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
// more details.
// You should have received a copy of the GNU Lesser General Public License along
// with this program; if not, see .
// ---------------------------------------------------------------------------
package org.dmd.dmp.shared.generated.types;
import org.dmd.dmc.DmcValueException;
import org.dmd.dmc.DmcInputStreamIF;
import org.dmd.dmc.DmcOutputStreamIF;
import org.dmd.dmp.shared.generated.enums.ResponseTypeEnum; // DmcType import
/**
* The DmcTypeResponseTypeEnumSTATIC provides static access to functions used to manage values of type ResponseTypeEnum
* These methods are used to support ComplexTypeDefinitions.
*
* This code was auto-generated and shouldn't be altered manually!
* Generated from: org.dmd.dms.util.GenUtility.dumpSTATICType(GenUtility.java:2346)
* Called from: org.dmd.dms.util.GenUtility.dumpSVType(GenUtility.java:2261)
*/
public class DmcTypeResponseTypeEnumSTATIC {
public static DmcTypeResponseTypeEnumSTATIC instance;
static DmcTypeResponseTypeEnumSV typeHelper;
static {
instance = new DmcTypeResponseTypeEnumSTATIC();
}
protected DmcTypeResponseTypeEnumSTATIC() {
typeHelper = new DmcTypeResponseTypeEnumSV();
}
public ResponseTypeEnum typeCheck(Object value) throws DmcValueException {
return(typeHelper.typeCheck(value));
}
public ResponseTypeEnum cloneValue(ResponseTypeEnum value) throws DmcValueException {
return(typeHelper.cloneValue(value));
}
public void serializeValue(DmcOutputStreamIF dos, ResponseTypeEnum value) throws Exception {
typeHelper.serializeValue(dos, value);
}
public ResponseTypeEnum deserializeValue(DmcInputStreamIF dis) throws Exception {
return(typeHelper.deserializeValue(dis));
}
}