@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface NamePattern
%s
placeholders for formatted values of entity attributes.
Attribute values are formatted to strings according to their Datatype
s.
#
symbol in the beginning.
_minimal
view of this entity.Attribute placeholders example:
@NamePattern("%s : %s|name,address")
Method example:
@NamePattern("#getCaption|name,address")
public class Foo extends StandardEntity {
...
public String getCaption() {
return name + " : " + address;
}
}
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value |