org.opencrx.kernel.document1.cci2
Interface Media

All Superinterfaces:
AspectCapable, BasicObject, ContextCapable, Creatable, ExtentCapable, Modifiable
All Known Subinterfaces:
DocumentAttachment, DocumentAttachment, Media, Media, Media, Media, Media, MediaContent, MediaContent
All Known Implementing Classes:
DocumentAttachment, Media, Media, MediaContent

public interface Media
extends BasicObject

Abstract class Media


Method Summary
 BinaryLargeObject getContent()
          Retrieves a binary large object value for the attribute content.
 Long getContentLength()
          Retrieves the possibly null value for the optional attribute contentLength.
 String getContentMimeType()
          Retrieves the possibly null value for the optional attribute contentMimeType.
 String getContentName()
          Retrieves the possibly null value for the optional attribute contentName.
 String getDescription()
          Retrieves the possibly null value for the optional attribute description.
 void setContent(BinaryLargeObject content)
          Sets a new binary value for the attribute content
 void setContentMimeType(String contentMimeType)
          Sets a new value for the attribute contentMimeType.
 void setContentName(String contentName)
          Sets a new value for the attribute contentName.
 void setDescription(String description)
          Sets a new value for the attribute description.
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
Methods inherited from interface org.openmdx.base.cci2.Creatable
getCreatedAt, getCreatedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.base.cci2.Modifiable
getModifiedAt, getModifiedBy
 

Method Detail

getContent

BinaryLargeObject getContent()
Retrieves a binary large object value for the attribute content.


setContent

void setContent(BinaryLargeObject content)
Sets a new binary value for the attribute content

Parameters:
content - A BinaryLargeObject containing the value for this attribute.

getContentLength

Long getContentLength()
Retrieves the possibly null value for the optional attribute contentLength.

Returns:
The possibly null value for attribute contentLength.

getContentMimeType

String getContentMimeType()
Retrieves the possibly null value for the optional attribute contentMimeType.

Returns:
The possibly null value for attribute contentMimeType.

setContentMimeType

void setContentMimeType(String contentMimeType)
Sets a new value for the attribute contentMimeType.

Parameters:
contentMimeType - The possibly null new value for attribute contentMimeType.

getContentName

String getContentName()
Retrieves the possibly null value for the optional attribute contentName.

Returns:
The possibly null value for attribute contentName.

setContentName

void setContentName(String contentName)
Sets a new value for the attribute contentName.

Parameters:
contentName - The possibly null new value for attribute contentName.

getDescription

String getDescription()
Retrieves the possibly null value for the optional attribute description.

Returns:
The possibly null value for attribute description.

setDescription

void setDescription(String description)
Sets a new value for the attribute description.

Parameters:
description - The possibly null new value for attribute description.


This software is published under the BSD license. Copyright © 2003-2009, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.