org.figure8.join.services.remoting.beans
Class RemoteComponent

java.lang.Object
  extended by org.figure8.join.services.remoting.beans.RemoteComponent
All Implemented Interfaces:
java.io.Serializable

public class RemoteComponent
extends java.lang.Object
implements java.io.Serializable

This is a thin bean aimed to be used by clients wanted to remotely bind Components. This object is not for providing remote view (some information of Component are missing)

Version:
$Revision: 1.1 $
Author:
Laurent Broudoux
See Also:
Serialized Form

Constructor Summary
RemoteComponent(java.lang.String versionInfo, long size, java.lang.String typeKey)
          Create a new instance of RemoteComponent
 
Method Summary
 java.lang.String getComponentTypeKey()
           
 long getSize()
           
 java.lang.String getVersionInfo()
           
 void setComponentTypeKey(java.lang.String componentTypeKey)
           
 void setSize(long size)
           
 void setVersionInfo(java.lang.String versionInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteComponent

public RemoteComponent(java.lang.String versionInfo,
                       long size,
                       java.lang.String typeKey)
Create a new instance of RemoteComponent

Parameters:
versionInfo - Component version information
size - The component size (in bytes)
typeKey - The key of corresponding component type
Method Detail

getSize

public long getSize()
Returns:
The component size (in bytes)

setSize

public void setSize(long size)
Parameters:
size - The component size (in bytes)

getVersionInfo

public java.lang.String getVersionInfo()
Returns:
Component version information

setVersionInfo

public void setVersionInfo(java.lang.String versionInfo)
Parameters:
versionInfo - Component version information

getComponentTypeKey

public java.lang.String getComponentTypeKey()
Returns:
The key of corresponding component type

setComponentTypeKey

public void setComponentTypeKey(java.lang.String componentTypeKey)
Parameters:
componentTypeKey - The key of corresponding component type


Copyright © 2005-2008 Join. All Rights Reserved.