public class LayoutTypeAnnotation extends Object implements TypeAnnotation
TypeAnnotation
meant to be applied on ObjectFieldType
instances and it contains information on how the field
should be rendered in the UI. That information is obtained through the Text
, Password
and Placement
annotations.Constructor and Description |
---|
LayoutTypeAnnotation(LayoutModel layoutModel)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
LayoutModel |
getLayoutModel() |
String |
getName()
A name of the annotation
|
Optional<Integer> |
getOrder() |
Optional<String> |
getTabName() |
int |
hashCode() |
boolean |
isPassword() |
boolean |
isQuery() |
boolean |
isText() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isPublic
public static final String NAME
public LayoutTypeAnnotation(LayoutModel layoutModel)
layoutModel
- a LayoutModel
public String getName()
getName
in interface TypeAnnotation
public boolean isPassword()
public boolean isText()
public boolean isQuery()
public Optional<String> getTabName()
public LayoutModel getLayoutModel()
LayoutModel
that this TypeAnnotation
represents.Copyright © 2018. All rights reserved.