All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.impetus.kundera.persistence.DefaultRoot Maven / Gradle / Ivy

There is a newer version: 3.13
Show newest version
/*******************************************************************************
 * * Copyright 2014 Impetus Infotech.
 *  *
 *  * 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 com.impetus.kundera.persistence;

import java.util.Set;

import javax.persistence.criteria.Fetch;
import javax.persistence.criteria.JoinType;
import javax.persistence.criteria.Root;
import javax.persistence.metamodel.EntityType;
import javax.persistence.metamodel.PluralAttribute;
import javax.persistence.metamodel.SingularAttribute;

/**
 * Default implementation for {@link Root}
 * @author vivek.mishra
 * 
 */
public class DefaultRoot extends DefaultFrom implements Root
{


    DefaultRoot(EntityType entityType)
    {
        this.entityType = entityType;
        this.managedType = entityType;
    }


    @Override
    public Set> getFetches()
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public  Fetch fetch(SingularAttribute paramSingularAttribute)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public  Fetch fetch(SingularAttribute paramSingularAttribute, JoinType paramJoinType)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public  Fetch fetch(PluralAttribute paramPluralAttribute)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public  Fetch fetch(PluralAttribute paramPluralAttribute, JoinType paramJoinType)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public  Fetch fetch(String paramString)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public  Fetch fetch(String paramString, JoinType paramJoinType)
    {
        // TODO Auto-generated method stub
        return null;
    }

    /* (non-Javadoc)
     * @see com.impetus.kundera.persistence.DefaultPath#getModel()
     */
    @Override
    public EntityType getModel()
    {
        return this.entityType;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy