mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-24 21:07:26 +08:00
36 lines
580 B
Java
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;
|
|
}
|
|
|
|
}
|