Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Process Manager (Stardust) » Using Structure Data Type (SDT) in Java Applications(Use of SDT in Stardust using POJOs)
Using Structure Data Type (SDT) in Java Applications [message #741976] Thu, 20 October 2011 04:07 Go to next message
Srinivasan Iyer is currently offline Srinivasan IyerFriend
Messages: 36
Registered: October 2011
Member
My Structure Data Type defines also attributes. How can attributes be handled in a POJO Application?

[Updated on: Thu, 20 October 2011 10:30]

Report message to a moderator

Re: Using Structure Data Type (SDT) in Java Applications [message #741978 is a reply to message #741976] Thu, 20 October 2011 04:08 Go to previous message
Srinivasan Iyer is currently offline Srinivasan IyerFriend
Messages: 36
Registered: October 2011
Member
Find general documentation on how SDTs are used in Java Application here ...
https://infinity.sungard.com/documentation/ipp/6.0/topic/ag.carnot.docs.dev/html/handbooks/programming/pg-structured-data.html

The Java representation of SDTs are Maps of Maps, Lists, primitve data types and/or Date objects.

For example the simple structure ...

User (firstname, lastname)

... would be represented in Java as a Map with two key/value pairs.

firstname = "John"
lastanme = "Doe"

If the SDT also defines attributes, you just need to add an @ prefix to your key.

firstname = "John"
lastanme = "Doe"
@gender = "male"

[Updated on: Thu, 20 October 2011 09:25]

Report message to a moderator

Previous Topic:Invalid JAXP setup, javax.xml.transform.TransformerConfigurationException
Next Topic:Tomcat runs of out memory in a RAD scenario
Goto Forum:
  


Current Time: Sat Nov 29 08:02:02 GMT 2014

Powered by FUDForum. Page generated in 0.01868 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software