Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Annotation ElementType

What does following annotation's ElementType means?

@Entity
@Table(table="application")
@ElementType(type=1L) 
class application extends Element
like image 513
user84592 Avatar asked May 16 '26 20:05

user84592


1 Answers

Please check: ElementType. It's an enum and all fields are defined there. You shouldn't rely on numeric values in your code.

like image 66
Bartosz Bierkowski Avatar answered May 19 '26 10:05

Bartosz Bierkowski