querydsl/querydsl-sql/src/main/java/com/mysema/query/sql/TableImpl.java
Timo Westkämper 6375f05f76
2010-02-04 14:18:55 +00:00

35 lines
600 B
Java

/*
* Copyright (c) 2009 Mysema Ltd.
* All rights reserved.
*
*/
package com.mysema.query.sql;
import java.lang.annotation.Annotation;
/**
* TableImppl is an implementation for the Table annotation
*
* @author tiwe
*
*/
public class TableImpl implements Table{
private final String table;
public TableImpl(String table){
this.table = table;
}
@Override
public String value() {
return table;
}
@Override
public Class<? extends Annotation> annotationType() {
return Table.class;
}
}