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 booleanequals(Object t)StringgetClassName()Get classNameContractIDgetContractID()Get contractIDintgetImplPosition()InterfaceIDgetInterfaceID()Get interfaceIDImplementationIDgetLocalImplID()Get the ImplementationStubInfo::localImplIDStringgetNamespace()Get namespaceNamespaceIDgetNamespaceID()Get namespaceIDOperationIDgetOperationID()Get the ImplementationStubInfo::operationIDMap<String,Type>getParams()Get parametersList<String>getParamsOrder()Get paramsOrderImplementationIDgetRemoteImplID()Get remoteImplIDAccountIDgetResponsibleRemoteAccountID()Get the ImplementationStubInfo::responsibleRemoteAccountIDTypegetReturnType()Get the ImplementationStubInfo::returnTypeStringgetSignature()Get signatureinthashCode()voidsetClassName(String newclassName)Set classNamevoidsetContractID(ContractID newcontractID)Set contractIDvoidsetImplPosition(int newimplPosition)voidsetInterfaceID(InterfaceID newinterfaceID)Set interfaceIDvoidsetLocalImplID(ImplementationID newlocalImplID)Set the ImplementationStubInfo::localImplIDvoidsetNamespace(String newnamespace)Set namespacevoidsetNamespaceID(NamespaceID newnamespaceID)Set namespaceIDvoidsetOperationID(OperationID newoperationID)Set the ImplementationStubInfo::operationIDvoidsetParams(Map<String,Type> newparameters)Set parametersvoidsetParamsOrder(List<String> newparamsOrder)Set paramsOrdervoidsetRemoteImplID(ImplementationID newremoteImplID)Set remoteImplIDvoidsetResponsibleRemoteAccountID(AccountID newresponsibleRemoteAccountID)Set the ImplementationStubInfo::responsibleRemoteAccountIDvoidsetReturnType(Type newreturnType)Set the ImplementationStubInfo::returnTypevoidsetSignature(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
-
-