Difference between revisions of "Artefact:Model/net/leue/andreas/sandbox/model42/Model42"

From OOModels
< Artefact:Model‎ | net‎ | leue‎ | andreas‎ | sandbox‎ | model42
Jump to navigationJump to search
Line 11: Line 11:


<wiml>
<wiml>
* Model42 CoreClass
* Model42 CoreClass,WithInstanceEditor
^^ com.sphenon.basics.data.Data_MediaObject
^^ com.sphenon.basics.data.Data_MediaObject
** DataEmbedded Data_MediaObject Optional,NoFilter,WithInstanceEditor
** DataEmbedded Data_MediaObject Optional,NoFilter
   + XMPresentation
   + XMPresentation
     - LinkType = Embedded
     - LinkType = Embedded
** DataDownload Data_MediaObject Optional,NoFilter,WithInstanceEditor
** DataDownload Data_MediaObject Optional,NoFilter
   + XMPresentation
   + XMPresentation
     - LinkType = Download
     - LinkType = Download
** DataOpenOnTop Data_MediaObject Optional,NoFilter,WithInstanceEditor
** DataOpenOnTop Data_MediaObject Optional,NoFilter
   + XMPresentation
   + XMPresentation
     - LinkType = OpenOnTop
     - LinkType = OpenOnTop
** DataOpenReplace Data_MediaObject Optional,NoFilter,WithInstanceEditor
** DataOpenReplace Data_MediaObject Optional,NoFilter
   + XMPresentation
   + XMPresentation
     - LinkType = OpenReplace
     - LinkType = OpenReplace
** DataOpenNew Data_MediaObject Optional,NoFilter,WithInstanceEditor
** DataOpenNew Data_MediaObject Optional,NoFilter
   + XMPresentation
   + XMPresentation
     - LinkType = OpenNew
     - LinkType = OpenNew
** DataImagePNGEmbedded Data_MediaObject Optional,NoFilter,WithInstanceEditor
** DataImagePNGEmbedded Data_MediaObject Optional,NoFilter
   + XMPresentation
   + XMPresentation
     - LinkType = Embedded
     - LinkType = Embedded

Revision as of 11:41, 20 March 2024

Classification
Type Type:org/oomodels/WIML/1.0
Domain Domain:it/test
Category Type:org/oomodels/wiki/Model
More
Download Code
Namespace (more)

Private namespace of Andreas Leue.

create new pages

Code[edit]

Model42
«CoreClass, WithInstanceEditor»
...
com.sphenon.basics.data.Data_MediaObject
DataEmbeddedData_MediaObject«Optional,NoFilter»
...
XMPresentation LinkTypeEmbedded
DataDownloadData_MediaObject«Optional,NoFilter»
...
XMPresentation LinkTypeDownload
DataOpenOnTopData_MediaObject«Optional,NoFilter»
...
XMPresentation LinkTypeOpenOnTop
DataOpenReplaceData_MediaObject«Optional,NoFilter»
...
XMPresentation LinkTypeOpenReplace
DataOpenNewData_MediaObject«Optional,NoFilter»
...
XMPresentation LinkTypeOpenNew
DataImagePNGEmbeddedData_MediaObject«Optional,NoFilter»
...
XMPresentation LinkTypeEmbedded
XMLogic ValidationConstraint{
    Condition = {
        JavaCodeTemplate = «@(Data) != null && @(Data.MediaType) != null && @(Data.MediaType).matches("^image/(png)$")»
    },
    ErrorMessage = "Only PNG images can be used"
}