Made WebField annotation show up in docs
This commit is contained in:
parent
aac199f5ed
commit
1652fe3bc3
2 changed files with 2 additions and 1 deletions
|
@ -17,6 +17,7 @@ public abstract class DataObject {
|
|||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.FIELD)
|
||||
@Documented // Dadurch wird im Javadoc vermerkt wenn ein Feld diese Annotation besitzt - praktisch!
|
||||
public @interface WebField {
|
||||
public String displayAs() default "";
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ public class Student extends Person {
|
|||
* @param uid Die zu vergebende UID
|
||||
* @param name Der Vorname
|
||||
* @param lastName Der Nachname
|
||||
* @param number Die Matrikelnummer
|
||||
* @param studentNumber Die Matrikelnummer
|
||||
*/
|
||||
public Student(String uid, String name, String lastName, String studentNumber) {
|
||||
super(uid, name, lastName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue