org.soyatec.windowsazure.authenticate
Class ResourceUriComponents

java.lang.Object
  extended by org.soyatec.windowsazure.authenticate.ResourceUriComponents

public class ResourceUriComponents
extends java.lang.Object

This type represents the different constituent parts that make up a resource Uri in the context of cloud services.


Constructor Summary
ResourceUriComponents()
          Construct a ResourceUriComponents object.
ResourceUriComponents(java.lang.String accountName)
          Construct a ResourceUriComponents object.
ResourceUriComponents(java.lang.String accountName, java.lang.String containerName)
          Construct a ResourceUriComponents object.
ResourceUriComponents(java.lang.String accountName, java.lang.String containerName, java.lang.String remainingPart)
          Construct a ResourceUriComponents object.
 
Method Summary
 java.lang.String getAccountName()
           
 java.lang.String getContainerName()
           
 java.lang.String getRemainingPart()
           
 void setAccountName(java.lang.String accountName)
          Set the account name.
 void setContainerName(java.lang.String containerName)
          Set the container name of the URI.
 void setRemainingPart(java.lang.String remainingPart)
          Set the remaining part of the URI.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceUriComponents

public ResourceUriComponents()
Construct a ResourceUriComponents object.


ResourceUriComponents

public ResourceUriComponents(java.lang.String accountName)
Construct a ResourceUriComponents object.

Parameters:
accountName - The account name that should become part of the URI.

ResourceUriComponents

public ResourceUriComponents(java.lang.String accountName,
                             java.lang.String containerName)
Construct a ResourceUriComponents object.

Parameters:
accountName - The account name that should become part of the URI.
containerName - The container name (container, queue or table name) that should become part of the URI.

ResourceUriComponents

public ResourceUriComponents(java.lang.String accountName,
                             java.lang.String containerName,
                             java.lang.String remainingPart)
Construct a ResourceUriComponents object.

Parameters:
accountName - The account name that should become part of the URI.
containerName - The container name (container, queue or table name) that should become part of the URI.
remainingPart - Remaining part of the URI.
Method Detail

getAccountName

public java.lang.String getAccountName()
Returns:
the account name.

setAccountName

public void setAccountName(java.lang.String accountName)
Set the account name.

Parameters:
accountName -

getContainerName

public java.lang.String getContainerName()
Returns:
the container name of the URI.

setContainerName

public void setContainerName(java.lang.String containerName)
Set the container name of the URI.

Parameters:
containerName -

getRemainingPart

public java.lang.String getRemainingPart()
Returns:
the remaining part of the URI

setRemainingPart

public void setRemainingPart(java.lang.String remainingPart)
Set the remaining part of the URI.

Parameters:
remainingPart -