Class ExAttributeComponent


  • public abstract class ExAttributeComponent
    extends Object
    Author:
    Lang
    • Constructor Detail

      • ExAttributeComponent

        public ExAttributeComponent()
    • Method Detail

      • source

        public ConcurrentMap<String,​io.vertx.core.json.JsonArray> source​(io.vertx.core.json.JsonObject definition)
        Here are json format of `definition` ```json //
        
             {
                 "sourceConsumer": {
                     "source": "Consume Source",
                     "in": "In Field",
                     "out": "Out Field"
                 },
                 "sourceDict": {
                      "comments": "Source Dict Definition Here"
                 },
                 "source": "Related to `source` field of M_ATTRIBUTE",
                 "sourceField": "Related to `sourceField` field of M_ATTRIBUTE",
                 "sourceData": {
                     "comments": "The final dictionary data store"
                 }
             }
         // 
        ```
        Parameters:
        definition - JsonObject The input definition
        Returns:
        ConcurrentMap The dict source map ( key = JsonArray )
      • translateTo

        protected Object translateTo​(Object value,
                                     io.vertx.core.json.JsonObject definition)
      • translateFrom

        protected Object translateFrom​(Object value,
                                       io.vertx.core.json.JsonObject definition)