de.jw.cloud42.webservice.wrapper
Class Cloud42GroupDescription

java.lang.Object
  extended by com.xerox.amazonws.ec2.GroupDescription
      extended by de.jw.cloud42.webservice.wrapper.Cloud42GroupDescription

public class Cloud42GroupDescription
extends com.xerox.amazonws.ec2.GroupDescription

Extends Typicas GroupDescription and adds list of permissions as an array of Cloud42IpPermission since Axis2 does not recognize the standard list of the nested type GroupDescription.IpPermission.

Author:
fbitzer

Nested Class Summary
 
Nested classes/interfaces inherited from class com.xerox.amazonws.ec2.GroupDescription
com.xerox.amazonws.ec2.GroupDescription.IpPermission
 
Constructor Summary
Cloud42GroupDescription(java.lang.String name, java.lang.String desc, java.lang.String owner)
           
 
Method Summary
 Cloud42IpPermission[] getPermissionsAsArray()
          Return current permissions as array of type Cloud42IpPermission.
static Cloud42GroupDescription parse(com.xerox.amazonws.ec2.GroupDescription gd)
          Load the properties of the given "original" GroupDescription in this instance.
 
Methods inherited from class com.xerox.amazonws.ec2.GroupDescription
addPermission, getDescription, getName, getOwner, getPermissions, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Cloud42GroupDescription

public Cloud42GroupDescription(java.lang.String name,
                               java.lang.String desc,
                               java.lang.String owner)
Method Detail

parse

public static Cloud42GroupDescription parse(com.xerox.amazonws.ec2.GroupDescription gd)
Load the properties of the given "original" GroupDescription in this instance.

Parameters:
gd -

getPermissionsAsArray

public Cloud42IpPermission[] getPermissionsAsArray()
Return current permissions as array of type Cloud42IpPermission. Reason: Typica's GroupDescription uses a List of the nested type GroupDescription.IpPermission and Axis2 does not recognize and publish this type, so it is not accessible in client applications unless you include Typica.

Returns:


Copyright © 2010 just works! Software. All Rights Reserved.