blob: 17b0d5724d0c7f05c63bacd62936fae6bed3f214 [file] [log] [blame]
/*
* Copyright 2016-present Open Networking Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.onosproject.yangutils.translator.tojava;
/**
* Represents type of java files generated.
*/
public final class GeneratedJavaFileType {
/**
* Interface file.
*/
public static final int INTERFACE_MASK = 1;
/**
* Builder interface file.
*/
public static final int BUILDER_INTERFACE_MASK = 2;
/**
* Builder class file.
*/
public static final int BUILDER_CLASS_MASK = 4;
/**
* Impl class file.
*/
public static final int IMPL_CLASS_MASK = 8;
/**
* Interface and class file.
*/
public static final int GENERATE_INTERFACE_WITH_BUILDER = 15;
/**
* Java class corresponding to typedef.
*/
public static final int GENERATE_TYPEDEF_CLASS = 16;
/**
* Java class corresponding to union.
*/
public static final int GENERATE_UNION_CLASS = 32;
/**
* Java class corresponding to YANG enumeration.
*/
public static final int GENERATE_ENUM_CLASS = 64;
/**
* Creates an instance of generate java file type.
*/
private GeneratedJavaFileType() {
}
}