Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Copyright 2014-2015 the original author or authors.
  *
  * 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.dbflute.jdbc;
The meta of classification.
It's an internal interface for DBFlute runtime.

Author(s):
jflute
public interface ClassificationMeta {

    
Get classification name of this meta.

Returns:
The name of the classification.
    String classificationName();

    
Get classification by the code.

Parameters:
code The value of code, which is case-insensitive. (NullAllowed: if null, returns null)
Returns:
The instance of the classification. (NullAllowed: when not found and code is null)
    Classification codeOf(Object code);

    
Get classification by the name.

Parameters:
name The string of name, which is case-sensitive. (NullAllowed: if null, returns null)
Returns:
The instance of the classification. (NullAllowed: when not found and name is null)
    Classification nameOf(String name);

    
Get the list of all classification elements. (returns new copied list)

Returns:
The list of classification elements. (NotNull)
    List<ClassificationlistAll();

    
Get the list of group classification elements. (returns new copied list)

Parameters:
groupName The string of group name, which is case-sensitive. (NullAllowed: if null, returns empty list)
Returns:
The list of classification elements. (NotNull)
    List<ClassificationgroupOf(String groupName);

    
Get the code type of the classification. e.g. String, Number

Returns:
The instance of the code type for the classification. (NotNull)
Get the handling type of undefined classification code.

Returns:
The enumeration of the handling type. (NotNull)
New to GrepCode? Check out our FAQ X