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

com.impetus.kundera.persistence.DefaultFrom 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.CollectionJoin;
import javax.persistence.criteria.Fetch;
import javax.persistence.criteria.From;
import javax.persistence.criteria.Join;
import javax.persistence.criteria.JoinType;
import javax.persistence.criteria.ListJoin;
import javax.persistence.criteria.MapJoin;
import javax.persistence.criteria.SetJoin;
import javax.persistence.metamodel.CollectionAttribute;
import javax.persistence.metamodel.ListAttribute;
import javax.persistence.metamodel.MapAttribute;
import javax.persistence.metamodel.PluralAttribute;
import javax.persistence.metamodel.SetAttribute;
import javax.persistence.metamodel.SingularAttribute;

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

    public DefaultFrom()
    {
     super();
    }
    @Override
    public Set> getFetches()
    {
        throw new UnsupportedOperationException("Method getFetches() is not yet supported");
    }

    @Override
    public  Fetch fetch(SingularAttribute paramSingularAttribute)
    {
        throw new UnsupportedOperationException("Method fetch(SingularAttribute paramSingularAttribute) is not yet supported");
    }

    @Override
    public  Fetch fetch(SingularAttribute paramSingularAttribute, JoinType paramJoinType)
    {
        throw new UnsupportedOperationException("Method fetch(SingularAttribute paramSingularAttribute, JoinType paramJoinType) is not yet supported");
    }

    @Override
    public  Fetch fetch(PluralAttribute paramPluralAttribute)
    {
        throw new UnsupportedOperationException("Method fetch(PluralAttribute paramPluralAttribute) is not yet supported");
    }

    @Override
    public  Fetch fetch(PluralAttribute paramPluralAttribute, JoinType paramJoinType)
    {
        throw new UnsupportedOperationException("Method fetch(PluralAttribute paramPluralAttribute, JoinType paramJoinType) is not yet supported");
    }

    @Override
    public  Fetch fetch(String paramString)
    {
        throw new UnsupportedOperationException("Method fetch(String paramString) is not yet supported");
    }

    @Override
    public  Fetch fetch(String paramString, JoinType paramJoinType)
    {
        throw new UnsupportedOperationException("Method fetch(String paramString, JoinType paramJoinType) is not yet supported");
    }

    @Override
    public Set> getJoins()
    {
        throw new UnsupportedOperationException("Method getJoins() is not yet supported");
    }

    @Override
    public boolean isCorrelated()
    {
        throw new UnsupportedOperationException("Method isCorrelated() is not yet supported");
    }

    @Override
    public From getCorrelationParent()
    {
        throw new UnsupportedOperationException("Method getCorrelationParent() is not yet supported");
    }

    @Override
    public  Join join(SingularAttribute paramSingularAttribute)
    {
        throw new UnsupportedOperationException("Method join(SingularAttribute paramSingularAttribute) is not yet supported");
    }

    @Override
    public  Join join(SingularAttribute paramSingularAttribute, JoinType paramJoinType)
    {
        throw new UnsupportedOperationException("Method join(SingularAttribute paramSingularAttribute, JoinType paramJoinType) is not yet supported");
    }

    @Override
    public  CollectionJoin join(CollectionAttribute paramCollectionAttribute)
    {
        throw new UnsupportedOperationException("Method join(CollectionAttribute paramCollectionAttribute) is not yet supported");
    }

    @Override
    public  SetJoin join(SetAttribute paramSetAttribute)
    {
        throw new UnsupportedOperationException("Method join(SetAttribute paramSetAttribute) is not yet supported");
    }

    @Override
    public  ListJoin join(ListAttribute paramListAttribute)
    {
        throw new UnsupportedOperationException("Method join(ListAttribute paramListAttribute) is not yet supported");
    }

    @Override
    public  MapJoin join(MapAttribute paramMapAttribute)
    {
        throw new UnsupportedOperationException("Method join(MapAttribute paramMapAttribute) is not yet supported");
    }

    @Override
    public  CollectionJoin join(CollectionAttribute paramCollectionAttribute,
            JoinType paramJoinType)
    {
        throw new UnsupportedOperationException("Method join(CollectionAttribute paramCollectionAttribute,JoinType paramJoinType) is not yet supported");
    }

    @Override
    public  SetJoin join(SetAttribute paramSetAttribute, JoinType paramJoinType)
    {
        throw new UnsupportedOperationException("Method join(SetAttribute paramSetAttribute, JoinType paramJoinType) is not yet supported");
    }

    @Override
    public  ListJoin join(ListAttribute paramListAttribute, JoinType paramJoinType)
    {
        throw new UnsupportedOperationException("Method join(ListAttribute paramListAttribute, JoinType paramJoinType) is not yet supported");
    }

    @Override
    public  MapJoin join(MapAttribute paramMapAttribute, JoinType paramJoinType)
    {
        throw new UnsupportedOperationException("Method join(MapAttribute paramMapAttribute, JoinType paramJoinType) is not yet supported");
    }

    @Override
    public  Join join(String paramString)
    {
        throw new UnsupportedOperationException("Method join(String paramString) is not yet supported");
    }

    @Override
    public  CollectionJoin joinCollection(String paramString)
    {
        throw new UnsupportedOperationException("Method joinCollection(String paramString) is not yet supported");
    }

    @Override
    public  SetJoin joinSet(String paramString)
    {
        throw new UnsupportedOperationException("Method joinSet(String paramString) is not yet supported");
    }

    @Override
    public  ListJoin joinList(String paramString)
    {
        throw new UnsupportedOperationException("Method joinList(String paramString) is not yet supported");
    }

    @Override
    public  MapJoin joinMap(String paramString)
    {
        throw new UnsupportedOperationException("Method joinMap(String paramString) is not yet supported");
    }

    @Override
    public  Join join(String paramString, JoinType paramJoinType)
    {
        throw new UnsupportedOperationException("Method join(String paramString, JoinType paramJoinType) is not yet supported");
    }

    @Override
    public  CollectionJoin joinCollection(String paramString, JoinType paramJoinType)
    {
        throw new UnsupportedOperationException("Method joinCollection(String paramString, JoinType paramJoinType) is not yet supported");
    }

    @Override
    public  SetJoin joinSet(String paramString, JoinType paramJoinType)
    {
        throw new UnsupportedOperationException("Method joinSet(String paramString, JoinType paramJoinType) is not yet supported");
    }

    @Override
    public  ListJoin joinList(String paramString, JoinType paramJoinType)
    {
        throw new UnsupportedOperationException("Method joinList(String paramString, JoinType paramJoinType) is not yet supported");
    }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy