Package io.contextmap.annotations.entity
Annotation Type ContextSoftLink
Annotation to document and create softlink between entities.
Either in the current component, or between components.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionUse this attribute in combination with entityName() to create a soft-link to an entity in another component.Use this attribute to create a soft-link to an entity in the current component.Use this attribute in combination with component() to create a soft-link to an entity in another component.
-
Element Details
-
entity
Class entityUse this attribute to create a soft-link to an entity in the current component.- Returns:
- linked entity in current component
- Default:
- void.class
-
entityName
String entityNameUse this attribute in combination with component() to create a soft-link to an entity in another component. The simple name of the entity's class should be used.- Returns:
- name of the linked entity to other component
- Default:
- ""
-
component
String componentUse this attribute in combination with entityName() to create a soft-link to an entity in another component.- Returns:
- name of the other component
- Default:
- ""
-