org.opencrx.kernel.base.jmi1
Interface ExportProfile

All Superinterfaces:
ExportProfile, RefBaseObject, RefFeatured, RefObject, RefObject_1_0
All Known Subinterfaces:
ExportProfile

public interface ExportProfile
extends ExportProfile, RefObject_1_0

Abstract class ExportProfile


Method Summary
 List<String> getForClass()
          Retrieves a list containing all the elements for the attribute forClass.
 Document getTemplate()
          Retrieves the value for the reference template.
 void setForClass(List<String> forClass)
          Clears forClass and adds the members of the given List.
 void setTemplate(Document template)
          Sets a new value for the reference template.
 
Methods inherited from interface org.opencrx.kernel.base.cci2.ExportProfile
getDescription, getMimeType, getName, getReferenceFilter, setDescription, setForClass, setMimeType, setName, setReferenceFilter
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refDefaultFetchGroup, refDelegate, refGetPath, refGetValue, refInitialize, refInitialize, refSetValue
 
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

getForClass

List<String> getForClass()
Retrieves a list containing all the elements for the attribute forClass.

Specified by:
getForClass in interface ExportProfile
Returns:
A list containing all elements for this attribute.

setForClass

void setForClass(List<String> forClass)
Clears forClass and adds the members of the given List.

This method is equivalent to

   list.clear();
   list.addAll(forClass);
 
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.

Parameters:
forClass - collection to be copied.

getTemplate

Document getTemplate()
Retrieves the value for the reference template.

Specified by:
getTemplate in interface ExportProfile
Returns:
The – possibly null – value for this reference.

setTemplate

void setTemplate(Document template)
Sets a new value for the reference template.

Specified by:
setTemplate in interface ExportProfile
Parameters:
template - The non-null new value for this reference.


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