JulianFeinauer opened a new pull request #29: Opm plcentitymanager
URL: https://github.com/apache/incubator-plc4x/pull/29
 
 
   I just finished the first (working) implementation of the Object-Plc-Mapping 
(OPM).
   This is a JPA Like functionality on top of plc4x which allows to issue 
requests against plc4x by calling Methods on POJOs!
   
   Basically, it uses 3 classes.
   
     *   PlcEntityManager: This is the main class. A call on read(…) or 
connect(…) does all the necessary magic
     *   PlcEntity (Annotation): A Pojo needs this annotation to be used with 
read(…) or connect(…) above
     *   PlcField (Annotation): Fields in the Pojo that are annotated with this 
field are fetched from the plc
   
   Some simple tests (with mocking) can be found in PlcEntityManagerTest.
   
   I would be really happy for some feedback on the basic semantics (which 
annotations, where to put them, …) or even some testing.
   If the feedback on this is positive I would like issue a PR for this.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to