uk.ac.soton.ecs.iam.grid.comms.client
Interface StorableInStateRepository

All Superinterfaces:
Comparable<StorableInStateRepository>
All Known Subinterfaces:
AccountConversation, CltMgtRegistryResourceConversation, Conversation, DataConversation, DataStagerManager, DestroyableConversation, JobConversation, MembershipGroupConversation, OgsaDaiResourceConversation, OgsaDaiRoleConversation, OgsaDaiSubscriptionConversation, PrivateAccountConversation, RemoteCltMgtRegistryService, RemoteDataService, RemoteJobService, RemoteMembershipService, RemoteOgsaDaiService, RemotePrivateAccountService, RemoteSampleService, RemoteService, RemoteSLAService, RemoteTradeAccountService, RemoteWSResourceLifetime, SampleConversation, SLAConversation, SLATemplateConversation, TradeAccountConversation, UnrecognisedRemoteService
All Known Implementing Classes:
AccountConversationImpl, BaseRemoteConversation, BaseRemoteResource, BaseRemoteService, CltMgtRegistryResourceHelpers, CltMgtRegistryServiceHelpers, DataConversationImpl, DataServiceHelpers, DataStagerHelpers, DataStagerManagerImpl, JobConversationImpl, JobHelpers, JobServiceHelpers, MembershipGroupHelpers, MembershipServiceHelpers, OgsaDaiResourceConversationHelpers, OgsaDaiRoleConversationHelpers, OgsaDaiSubscriptionConversationHelpers, PrivateAccountConversationImpl, PrivateAccountHelpers, PrivateAccountServiceHelpers, RemoteDataServiceImpl, RemoteJobServiceImpl, RemoteOgsaDaiServiceHelpers, RemotePrivateAccountServiceImpl, RemoteReportAPIImpl, RemoteServiceImpl, RemoteSLAServiceImpl, RemoteTradeAccountServiceImpl, RemoteWSResourceLifetimeImpl, SampleServiceHelpers, SLAConversationImpl, SLAHelpers, SLAServiceHelpers, TradeAccountConversationImpl, TradeAccountHelpers, TradeAccountServiceHelpers, UnrecognisedRemoteServiceHelpers

public interface StorableInStateRepository
extends Comparable<StorableInStateRepository>

To be storable in a StateRepository, an object needs a URL and a type.


Method Summary
 String getDescription()
          Returns a textual description of the object.
 org.apache.axis.message.addressing.EndpointReferenceType getEndpointRef()
          Return an EndpointReferenceType for this conversation.
 Class getInterface()
          Returns the type of this object.
 URL getParentURL()
          Returns the URL of this object's parent.
 StateRepository getRepository()
          Get the StateRepository holding this object.
 URL getURL()
          Returns the globally unique identifier.
 void setDescription(String description)
          Change the textual description, as returned by getDescription.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getURL

URL getURL()
Returns the globally unique identifier. No two distinct objects may have the same URL, even if they have different types.


getEndpointRef

org.apache.axis.message.addressing.EndpointReferenceType getEndpointRef()
Return an EndpointReferenceType for this conversation. This contains both the endpoint address of the service, and the resource itself.


getInterface

Class getInterface()
Returns the type of this object. When loading the object, a StateRepository locates a class implementing the interface and uses that for the object.


getParentURL

URL getParentURL()
Returns the URL of this object's parent. Returns null if this is a top-level (service) object.


getDescription

String getDescription()
Returns a textual description of the object. This can be presented to the user when choosing from a list, for example.


setDescription

void setDescription(String description)
Change the textual description, as returned by getDescription.


getRepository

StateRepository getRepository()
Get the StateRepository holding this object.



Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.