Class ImplementationStubInfo
- java.lang.Object
-
- es.bsc.dataclay.util.management.stubs.ImplementationStubInfo
-
public final class ImplementationStubInfo extends Object
This class represents the information about an operation in a stub.
-
-
Constructor Summary
Constructors Constructor Description ImplementationStubInfo()
Empty constructorImplementationStubInfo(String implNamespace, String implCassName, String newsignature, Map<String,Type> newparameters, List<String> newparamsOrder, Type newreturnType, OperationID newoperationID, ImplementationID newlocalImplID, ImplementationID newremoteImplID, ContractID newcontractID, InterfaceID newinterfaceID, AccountID newresponsibleRemoteAccountID, NamespaceID newnamespaceID, int newimplPosition)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object t)
String
getClassName()
Get classNameContractID
getContractID()
Get contractIDint
getImplPosition()
InterfaceID
getInterfaceID()
Get interfaceIDImplementationID
getLocalImplID()
Get the ImplementationStubInfo::localImplIDString
getNamespace()
Get namespaceNamespaceID
getNamespaceID()
Get namespaceIDOperationID
getOperationID()
Get the ImplementationStubInfo::operationIDMap<String,Type>
getParams()
Get parametersList<String>
getParamsOrder()
Get paramsOrderImplementationID
getRemoteImplID()
Get remoteImplIDAccountID
getResponsibleRemoteAccountID()
Get the ImplementationStubInfo::responsibleRemoteAccountIDType
getReturnType()
Get the ImplementationStubInfo::returnTypeString
getSignature()
Get signatureint
hashCode()
void
setClassName(String newclassName)
Set classNamevoid
setContractID(ContractID newcontractID)
Set contractIDvoid
setImplPosition(int newimplPosition)
void
setInterfaceID(InterfaceID newinterfaceID)
Set interfaceIDvoid
setLocalImplID(ImplementationID newlocalImplID)
Set the ImplementationStubInfo::localImplIDvoid
setNamespace(String newnamespace)
Set namespacevoid
setNamespaceID(NamespaceID newnamespaceID)
Set namespaceIDvoid
setOperationID(OperationID newoperationID)
Set the ImplementationStubInfo::operationIDvoid
setParams(Map<String,Type> newparameters)
Set parametersvoid
setParamsOrder(List<String> newparamsOrder)
Set paramsOrdervoid
setRemoteImplID(ImplementationID newremoteImplID)
Set remoteImplIDvoid
setResponsibleRemoteAccountID(AccountID newresponsibleRemoteAccountID)
Set the ImplementationStubInfo::responsibleRemoteAccountIDvoid
setReturnType(Type newreturnType)
Set the ImplementationStubInfo::returnTypevoid
setSignature(String newsignature)
Set signature
-
-
-
Constructor Detail
-
ImplementationStubInfo
public ImplementationStubInfo()
Empty constructor
-
ImplementationStubInfo
public ImplementationStubInfo(String implNamespace, String implCassName, String newsignature, Map<String,Type> newparameters, List<String> newparamsOrder, Type newreturnType, OperationID newoperationID, ImplementationID newlocalImplID, ImplementationID newremoteImplID, ContractID newcontractID, InterfaceID newinterfaceID, AccountID newresponsibleRemoteAccountID, NamespaceID newnamespaceID, int newimplPosition)
Constructor- Parameters:
implNamespace
- Namespace of the implementation (in case of enrichments it's different)implCassName
- Name of class of the implementatin (different for superclasses)newsignature
- Signature of implementationnewparameters
- Parameters of implementationnewparamsOrder
- Order of params by name.newreturnType
- Return type for the operationnewoperationID
- ID of operationnewlocalImplID
- ID of the local implementationnewremoteImplID
- ID of the remote implementationnewcontractID
- Contract of remote implementationnewinterfaceID
- Interface of remote implementationnewresponsibleRemoteAccountID
- ID of the account responsible of the remote implementationnewnamespaceID
- ID of namespacenewimplPosition
- New implementation position.
-
-
Method Detail
-
getOperationID
public OperationID getOperationID()
Get the ImplementationStubInfo::operationID- Returns:
- the operationID
-
setOperationID
public void setOperationID(OperationID newoperationID)
Set the ImplementationStubInfo::operationID- Parameters:
newoperationID
- the operationID to set
-
getLocalImplID
public ImplementationID getLocalImplID()
Get the ImplementationStubInfo::localImplID- Returns:
- the localImplID
-
setLocalImplID
public void setLocalImplID(ImplementationID newlocalImplID)
Set the ImplementationStubInfo::localImplID- Parameters:
newlocalImplID
- the localImplID to set
-
getReturnType
public Type getReturnType()
Get the ImplementationStubInfo::returnType- Returns:
- the returnType.
-
setReturnType
public void setReturnType(Type newreturnType)
Set the ImplementationStubInfo::returnType- Parameters:
newreturnType
- the returnType to set
-
getResponsibleRemoteAccountID
public AccountID getResponsibleRemoteAccountID()
Get the ImplementationStubInfo::responsibleRemoteAccountID- Returns:
- the responsibleRemoteAccountID
-
setResponsibleRemoteAccountID
public void setResponsibleRemoteAccountID(AccountID newresponsibleRemoteAccountID)
Set the ImplementationStubInfo::responsibleRemoteAccountID- Parameters:
newresponsibleRemoteAccountID
- the responsibleRemoteAccountID to set
-
setParams
public void setParams(Map<String,Type> newparameters)
Set parameters- Parameters:
newparameters
- the parameters to set
-
getContractID
public ContractID getContractID()
Get contractID- Returns:
- the contractID
-
setContractID
public void setContractID(ContractID newcontractID)
Set contractID- Parameters:
newcontractID
- the contractID to set
-
getInterfaceID
public InterfaceID getInterfaceID()
Get interfaceID- Returns:
- the interfaceID
-
setInterfaceID
public void setInterfaceID(InterfaceID newinterfaceID)
Set interfaceID- Parameters:
newinterfaceID
- the interfaceID to set
-
getRemoteImplID
public ImplementationID getRemoteImplID()
Get remoteImplID- Returns:
- the remoteImplID
-
setRemoteImplID
public void setRemoteImplID(ImplementationID newremoteImplID)
Set remoteImplID- Parameters:
newremoteImplID
- the remoteImplID to set
-
getSignature
public String getSignature()
Get signature- Returns:
- the signature
-
setSignature
public void setSignature(String newsignature)
Set signature- Parameters:
newsignature
- the signature to set
-
setParamsOrder
public void setParamsOrder(List<String> newparamsOrder)
Set paramsOrder- Parameters:
newparamsOrder
- the paramsOrder to set
-
getNamespace
public String getNamespace()
Get namespace- Returns:
- the namespace
-
setNamespace
public void setNamespace(String newnamespace)
Set namespace- Parameters:
newnamespace
- the namespace to set
-
getNamespaceID
public NamespaceID getNamespaceID()
Get namespaceID- Returns:
- the namespaceID
-
setNamespaceID
public void setNamespaceID(NamespaceID newnamespaceID)
Set namespaceID- Parameters:
newnamespaceID
- the namespaceID to set
-
getClassName
public String getClassName()
Get className- Returns:
- the className
-
setClassName
public void setClassName(String newclassName)
Set className- Parameters:
newclassName
- the className to set
-
getImplPosition
public int getImplPosition()
- Returns:
- the implPosition
-
setImplPosition
public void setImplPosition(int newimplPosition)
- Parameters:
newimplPosition
- the implPosition to set
-
-