public interface OdsxPresentableElementInterface extends FwkInfoBusDataAccessInterface, FwkPropertyChangeInterface, FwkInstructionInterface
AUTHOR, BUILDNR, COMPANY, COPYRIGHT, DATE_FORMAT, DEFAULT_ICON, DESCRIPTION, INTERNET, LARGE_ICON, LARGE_KEY_EXT, LARGE_OPAQUE_ICON, LARGE_OPAQUE_KEY_EXT, OPAQUE_ICON, OPAQUE_KEY_EXT, RCS_DATE_FORMAT, SUPPORT_EMAIL, TITLE_NAME| Modifier and Type | Method and Description |
|---|---|
void |
delete(boolean flag)
Delete the element.
|
java.lang.String |
getBaseName()
Get the base type identifier.
|
java.util.Vector<OdsxPresentableElementInterface> |
getElements()
Get the child elements of this element.
|
java.lang.String |
getIdentificationString()
Retrieves the identification string form the element.
|
java.lang.String |
getODSVersion()
Get the ODS version of the element
|
OdsxFilterInterface |
getOdsxFilter()
Retrieve the filter of this element.
|
java.lang.String |
getPresentationString(java.util.Locale l,
OdsxFilterInterface f)
Retrieves the representation string.
|
void |
getPresentationString(java.io.Writer w,
java.lang.String spec,
java.util.Locale l,
OdsxFilterInterface f)
Print out the presentation into a writer.
|
java.util.Vector<OdsxPresentableElementInterface> |
getRelatedElements()
Get the related elements of this element.
|
ApplicationRelation[] |
getRelations()
Get the relation type to the given element.
|
ApplicationRelation[] |
getRelations(OdsxPresentableElementInterface elem)
Get the relation type to the given element.
|
AoSession |
getSession()
Get the root object.
|
java.lang.String |
getShortName()
Retrieves a short name from element.
|
java.lang.String |
getShortName(int length)
Retrieves a short name from element.
|
java.lang.Object |
getValueAsObject()
Get the value as object.
|
boolean |
isTheSame(OdsxPresentableElementInterface elem)
Return a boolean whether the given element is the element as the incoming one.
|
boolean |
isValid()
Return a boolean wether the element is already valid.
|
boolean |
matchBaseElement(java.lang.String baseElementName)
Ask for base element instance.
|
void |
setOdsxFilter(OdsxFilterInterface odsFilter)
Set the filter of this element.
|
void |
setValueAsObject(java.lang.Object value)
Set the value of the item.
|
boolean |
valueIsA(java.lang.Class<?> clazz)
Return a boolean whether the value is a subclass of the given class.
|
getName, hasValidValues, isGroup, setProperty, setValidValuesgetAuthor, getBuild, getClassName, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getIcon, getIcon, getIconKey, getIconKey, getPresentationString, getPresentationString, getSupportEMail, getTitle, getTitleName, setAuthor, setBuild, setClassName, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setCreationDate, setDateFormatString, setDescription, setDescriptor, setIcon, setIcon, setIconKey, setIconKey, setName, setSupportEMail, setTitleNamegetVersion, releasegetTransferData, getTransferDataFlavors, isDataFlavorSupportedaddChild, addChildListener, containsChild, getAllChildren, getAllChildren, getChildren, getChildren, getChildrenCount, hasChildren, removeAllChildren, removeChild, removeChild, removeChildListener, setChildrengetPresentationString, getValueAsString, setValueaddDataItemChangeListener, removeDataItemChangeListenergetDimensions, getItemByCoordinates, setItemByCoordinates, subdivideaddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEventsaddCommand, addCommand, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getCommand, getCommands, getGroup, groupExists, removeCommand, removeFromGroup, setCommandsgetPresentationString, getPresentationStringjava.lang.String getBaseName()
boolean isTheSame(OdsxPresentableElementInterface elem)
elem - The element to be compared tovoid setValueAsObject(java.lang.Object value)
throws java.lang.RuntimeException
value - the new value.java.lang.RuntimeExceptionAoSession getSession() throws java.lang.RuntimeException
java.lang.RuntimeExceptionjava.lang.Object getValueAsObject()
getValueAsObject in interface javax.infobus.ImmediateAccessjava.util.Vector<OdsxPresentableElementInterface> getElements()
java.util.Vector<OdsxPresentableElementInterface> getRelatedElements()
ApplicationRelation[] getRelations()
ApplicationRelation[] getRelations(OdsxPresentableElementInterface elem)
elem - The element to that the relation should be determined.java.lang.String getShortName()
java.lang.String getShortName(int length)
length - the maximum length of the name.java.lang.String getIdentificationString()
java.lang.String getPresentationString(java.util.Locale l,
OdsxFilterInterface f)
l - The Locale object or null.f - An ODSFilterInterface object.void getPresentationString(java.io.Writer w,
java.lang.String spec,
java.util.Locale l,
OdsxFilterInterface f)
throws java.io.IOException
w - The writer.spec - This string allows the caller to specify the kind of output.l - The Locale object or null.f - An ODSFilterInterface object.java.io.IOExceptionvoid setOdsxFilter(OdsxFilterInterface odsFilter)
odsFilter - the filter.OdsxFilterInterface getOdsxFilter()
void delete(boolean flag)
flag - true if the element should be deleted with references.boolean matchBaseElement(java.lang.String baseElementName)
boolean valueIsA(java.lang.Class<?> clazz)
clazz - The class to be implemented by the value.java.lang.String getODSVersion()
boolean isValid()