Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

never seen this kind a syntax before

Status
Not open for further replies.

786snow

Programmer
Nov 12, 2006
75
0
0
Hi , I have never seen this kind a variable type UserAccountList.AccountData, whats is going on here ?

Code:
UserAccountList.AccountData userAccountListData = 
                      UserAccountListProxy.setUserAccountList( req, res, 
                               userIDStr, sessionIDStr, null, false);



Code:
public static UserAccountList.AccountData setUserAccountList( 
            HttpServletRequest req, HttpServletResponse res, 
            String userId, String sessionId, 
            String selectedAccount, boolean displayButton) 
            throws SQLException, VersusException, java.rmi.RemoteException 
  {
 
It is innner class ....

To create an object of inner class we do something like this
Code:
OuterClass.StaticNestedClass nestedObject = new OuterClass.StaticNestedClass();

Now in the code below
Code:
  UserAccountList.AccountData userAccountListData =
		      UserAccountListProxy.setUserAccountList( req, res, 
		               userIDStr, sessionIDStr, null, false);

I think method setUserAccountList of class UserAccountListProxy will return an object of class UserAccountList.AccountData which we will be assigned to variable userAccountListData, right?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top