com.adobe.icomm.assetplacement.model
Class Attachment

java.lang.Object
  extended by com.adobe.icomm.assetplacement.model.PackageElement
      extended by com.adobe.icomm.assetplacement.model.Attachment

public class Attachment
extends PackageElement

Class that represents an <attachment> child of <attachments> within a package definition. Get a list of these from the PackageDefinition getAttachments method.


Method Summary
 String getContentType()
          Identifies the content type of the attachment.
 String getControllerID()
          Return the controller attribute value of the parent <attachments> node, if any.
 String getDescription()
          The description is a string used to describe the contents of the attachment.
 String getName()
          This is the name of the attachment to be displayed to the user by Acrobat.
 String getSource()
          Specifies a reference to the external file resource for the attachment.
 void setContentType(String value)
          Identifies the content type of the attachment.
 void setDescription(String value)
          The description is a string used to describe the contents of the attachment.
 void setName(String value)
          This is the name of the attachment to be displayed to the user by Acrobat.
 void setSource(String value)
          Specifies a reference to the external file resource for the attachment.
 
Methods inherited from class com.adobe.icomm.assetplacement.model.PackageElement
getAttribute, getMetaData, remove, setAttribute, setMetaData
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getControllerID

public String getControllerID()
Return the controller attribute value of the parent <attachments> node, if any.

Returns:
Value of the controller attribute of parent <attachments> node, if any. Otherwise returns empty string.

getName

public String getName()
This is the name of the attachment to be displayed to the user by Acrobat.

Returns:
the name attribute.

setName

public void setName(String value)
This is the name of the attachment to be displayed to the user by Acrobat.

Parameters:
value - The name attribute to set.

getDescription

public String getDescription()
The description is a string used to describe the contents of the attachment.

Returns:
the description attribute.

setDescription

public void setDescription(String value)
The description is a string used to describe the contents of the attachment.

Parameters:
value - the new description value.

getContentType

public String getContentType()
Identifies the content type of the attachment.

Returns:
the content type of the attachment.

setContentType

public void setContentType(String value)
Identifies the content type of the attachment.

Parameters:
value - the new content type value.

getSource

public String getSource()
Specifies a reference to the external file resource for the attachment.

Returns:
the external file resource of the attachment.

setSource

public void setSource(String value)
Specifies a reference to the external file resource for the attachment.

Parameters:
value - the new external file resource of the attachment.


[an error occurred while processing this directive] [an error occurred while processing this directive]