org.opencrx.kernel.generic.cci
Interface Pictured

All Superinterfaces:
RefBaseObject, RefFeatured, RefObject, RefObject_1_0
All Known Subinterfaces:
AbstractBuildingUnit, Asset, Building, BuildingComplex, BuildingUnit, Contact, Facility, PostalAddress, PostalAddress, PostalAddress, PostalAddress, PostalAddressable, Product
All Known Implementing Classes:
AbstractBuildingUnitImpl, AssetImpl, BuildingComplexImpl, BuildingImpl, BuildingUnitImpl, ContactImpl, FacilityImpl, PicturedImpl, PostalAddressableImpl, PostalAddressImpl, PostalAddressImpl, PostalAddressImpl, PostalAddressImpl, ProductImpl

public interface Pictured
extends RefObject_1_0


Method Summary
 Media getPicture()
          Retrieves the value for the optional reference picture.
 byte[] getPictureContent()
           
 String getPictureContentMimeType()
           
 String getPictureContentName()
           
 void removePicture()
          Removes the value for the optional reference picture.
 void setPicture(Media newValue)
          Sets a new value for the reference picture.
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

getPicture

Media getPicture()
Retrieves the value for the optional reference picture.

Returns:
The possibly null value for this reference.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setPicture

void setPicture(Media newValue)
Sets a new value for the reference picture.

Parameters:
newValue - The non-null new value for this reference.
Throws:
JmiException - If the value cannot be set for some reason.

removePicture

void removePicture()
Removes the value for the optional reference picture.

Throws:
JmiException - If the value cannot be removed for some reason.

getPictureContent

byte[] getPictureContent()
Returns:
The possibly null value for attribute pictureContent.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getPictureContentMimeType

String getPictureContentMimeType()
Returns:
The possibly null value for attribute pictureContentMimeType.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getPictureContentName

String getPictureContentName()
Returns:
The possibly null value for attribute pictureContentName.
Throws:
JmiException - If the value cannot be retrieved for some reason.


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