com.adobe.idp.dsc.registry.component
Class ModifyComponentInfo

java.lang.Object
  extended by com.adobe.idp.dsc.registry.component.ModifyComponentInfo
All Implemented Interfaces:
java.io.Serializable

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

An object used to modify a component's information, which includes its identifier, version, and archive.

See Also:
Serialized Form

Constructor Summary
ModifyComponentInfo()
           
 
Method Summary
 java.lang.Object getArchive()
          Retrieves the component archive.
 java.lang.String getId()
          Retrieves the component identifier.
 java.lang.String getVersion()
          Retrieves the component version.
 boolean isArchiveSet()
          Determines whether the component archive has been set.
 void setArchive(byte[] aByteArray)
          Sets the component archive.
 void setArchive(Document aDoc)
          Sets the component archive.
 void setComponentId(java.lang.String aComponentId)
          Sets the component identifier.
 void setVersion(java.lang.String aVersion)
          Sets the component version.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModifyComponentInfo

public ModifyComponentInfo()
Method Detail

setComponentId

public void setComponentId(java.lang.String aComponentId)
Sets the component identifier.

Parameters:
aComponentId - The component identifier.

getId

public java.lang.String getId()
Retrieves the component identifier.

Returns:
The component identifier.

setVersion

public void setVersion(java.lang.String aVersion)
Sets the component version.

Parameters:
aComponentId - The component version.

getVersion

public java.lang.String getVersion()
Retrieves the component version.

Returns:
The component version.

setArchive

public void setArchive(Document aDoc)
Sets the component archive.

Parameters:
aDoc - A Document representing the component archive.

setArchive

public void setArchive(byte[] aByteArray)
Sets the component archive.

Parameters:
aDoc - A byte array representing the component archive.

getArchive

public java.lang.Object getArchive()
Retrieves the component archive.

Returns:
The component archive.

isArchiveSet

public boolean isArchiveSet()
Determines whether the component archive has been set.

Returns:
true if the component archive has been set, false otherwise.