org.gcube.contentmanagement.contentmanager.activationrecord
Class ActivationRecordBody

java.lang.Object
  extended by org.gcube.contentmanagement.contentmanager.activationrecord.ActivationRecordBody

public class ActivationRecordBody
extends java.lang.Object

The body of an activation record.

Author:
Fabio Simeoni (University of Strathclyde)

Constructor Summary
ActivationRecordBody()
          Creates an instance.
ActivationRecordBody(java.lang.String id, FactoryParameters params)
          Creates an instance from the identifier of the record's creator and the activation's parameters.
 
Method Summary
 java.lang.String getCreatedBy()
          Returns the identifier of record's creator.
 FactoryParameters getParameters()
          Returns the parameters of the activation.
 void setCreatedBy(java.lang.String id)
          Sets the identifier of the record's creator.
 void setParameters(FactoryParameters parameters)
          Sets the parameters of the activation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivationRecordBody

public ActivationRecordBody()
Creates an instance.


ActivationRecordBody

public ActivationRecordBody(java.lang.String id,
                            FactoryParameters params)
Creates an instance from the identifier of the record's creator and the activation's parameters.

Parameters:
id - the identifier.
params - the parameters.
Method Detail

getCreatedBy

public java.lang.String getCreatedBy()
Returns the identifier of record's creator.

Returns:
the identifier.

setCreatedBy

public void setCreatedBy(java.lang.String id)
Sets the identifier of the record's creator.

Parameters:
id - the identifier.

getParameters

public FactoryParameters getParameters()
Returns the parameters of the activation.

Returns:
the parameters.

setParameters

public void setParameters(FactoryParameters parameters)
Sets the parameters of the activation.

Parameters:
parameters - the parameters.