-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add new annotations * add RuneDataType * Handle run annotations and rune meta * add run annotations to builder methods * remove duplicate meta fields key * remove properly! * add RuneAttribute annotation to multi cardinality setters * add RuneDataType to MetaFields * Add @RuneAttribute to all meta fields * fix typo in scheme annotations * unwrap meta @DaTa wrappers for object types using @RuneMetaType annotation * Changes to handle scoped keys and references for Rune attributes * Fix annotations for MetaAndTemplateFields * add comments to meta fields classes * rename scoped key accessor methods * fix whitespace * fix whitespace
- Loading branch information
Showing
17 changed files
with
361 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
rosetta-runtime/src/main/java/com/rosetta/model/lib/annotations/RuneAttribute.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.rosetta.model.lib.annotations; | ||
|
||
import java.lang.annotation.Documented; | ||
import java.lang.annotation.Retention; | ||
import java.lang.annotation.RetentionPolicy; | ||
|
||
@Documented | ||
@Retention(RetentionPolicy.RUNTIME) | ||
public @interface RuneAttribute { | ||
|
||
String value() default ""; | ||
} |
19 changes: 19 additions & 0 deletions
19
rosetta-runtime/src/main/java/com/rosetta/model/lib/annotations/RuneDataType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.rosetta.model.lib.annotations; | ||
|
||
import java.lang.annotation.Documented; | ||
import java.lang.annotation.Retention; | ||
import java.lang.annotation.RetentionPolicy; | ||
|
||
import com.rosetta.model.lib.RosettaModelObjectBuilder; | ||
|
||
@Documented | ||
@Retention(RetentionPolicy.RUNTIME) | ||
public @interface RuneDataType { | ||
String value() default ""; | ||
|
||
String model() default ""; | ||
|
||
Class<? extends RosettaModelObjectBuilder> builder(); | ||
|
||
String version() default ""; | ||
} |
11 changes: 11 additions & 0 deletions
11
rosetta-runtime/src/main/java/com/rosetta/model/lib/annotations/RuneMetaType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.rosetta.model.lib.annotations; | ||
|
||
import java.lang.annotation.Documented; | ||
import java.lang.annotation.Retention; | ||
import java.lang.annotation.RetentionPolicy; | ||
|
||
@Documented | ||
@Retention(RetentionPolicy.RUNTIME) | ||
public @interface RuneMetaType { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.