querydsl/querydsl-sql/src/main/java/com/mysema/query/sql/TableImpl.java
2010-08-01 07:56:12 +00:00

36 lines
580 B
Java

/*
* Copyright (c) 2010 Mysema Ltd.
* All rights reserved.
*
*/
package com.mysema.query.sql;
import java.lang.annotation.Annotation;
/**
* TableImpl is an implementation for the Table annotation
*
* @author tiwe
*
*/
@SuppressWarnings("all")
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;
}
}