-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Which solution for non-standard type mapping
PostPosted: Sun Dec 09, 2007 12:31 pm 
Newbie

Joined: Wed Nov 21, 2007 11:03 am
Posts: 8
I have the POJO below :

public class CommDeviceSetting {

protected int commDeviceType;
protected Process bridge = null;
protected InputStream inStream = null;
protected InputStream errStream = null;
protected OutputStream outStream = null;
protected Reader reader = null;
protected Reader errReader = null;
protected Writer writer = null;

...

}

My question is how can I map these properties with types are classes from package java.io (InputStream, OutputStream, Reader...) and type Process.
In general, how can I map a property with non-standard type (which was created by another, and I don't know anything about its structure)?

Credit for every answer :) . Thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.