Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package net.java.ao.types;
 
 import java.net.URI;
 import java.net.URL;
 import java.util.Date;
 
 
 public abstract class LogicalTypes
    public static LogicalType<IntegerintegerType()
    {
        return new IntegerType();
    }
    public static LogicalType<LonglongType()
    {
        return new LongType();
    }
    
    public static LogicalType<DoubledoubleType()
    {
        return new DoubleType();
    }
    public static LogicalType<BooleanbooleanType()
    {
        return new BooleanType();
    }
    
    public static LogicalType<StringstringType()
    {
        return new StringType();
    }
    
    public static LogicalType<ObjectblobType()
    {
        return new BlobType();
    }
    
    public static LogicalType<Enum<?>> enumType()
    {
        return new EnumType();
    }
    
    public static LogicalType<DatedateType()
    {
        return new DateType();
    }
    
    public static LogicalType<URIuriType()
    {
        return new URIType();
    }
    
    public static LogicalType<URLurlType()
    {
        return new URLType();
    }
    
    public static <K, T extends RawEntity<K>> LogicalType<T> entityType(Class<T> entityClass,
        TypeInfo<K> primaryKeyTypeInfo,
        Class<K> primaryKeyClass)
    {
        return new EntityType<K, T>(entityClassprimaryKeyTypeInfoprimaryKeyClass);
    }
New to GrepCode? Check out our FAQ X