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
(Created page with "{{Metabox | Meta_Type = Type:org/oomodels/WIML/1.0 | Meta_Domain = Domain:it/test | Meta_Category = Type:org/oomodels/wiki/Model | Meta_Download = true | Meta_AddTypeToCategory = true | Meta_AddCategoryToCategory = true }} == Code == <wiml> * Model42 CoreClass ** DataOpenOnTop Data_MediaObject Optional,NoFilter,WithInstanceEditor + XMPresentation - LinkType = OpenOnTop </wiml>")
 
Line 12: Line 12:
<wiml>
<wiml>
* Model42 CoreClass
* Model42 CoreClass
** DataEmbedded Data_MediaObject Optional,NoFilter,WithInstanceEditor
  + XMPresentation
    - LinkType = Embedded
** DataDownload Data_MediaObject Optional,NoFilter,WithInstanceEditor
  + XMPresentation
    - LinkType = Download
** DataOpenOnTop Data_MediaObject Optional,NoFilter,WithInstanceEditor
** DataOpenOnTop Data_MediaObject Optional,NoFilter,WithInstanceEditor
   + XMPresentation
   + XMPresentation
     - LinkType = OpenOnTop
     - LinkType = OpenOnTop
** DataOpenReplace Data_MediaObject Optional,NoFilter,WithInstanceEditor
  + XMPresentation
    - LinkType = OpenReplace
** DataOpenNew Data_MediaObject Optional,NoFilter,WithInstanceEditor
  + XMPresentation
    - LinkType = OpenNew
** DataImagePNGEmbedded Data_MediaObject Optional,NoFilter,WithInstanceEditor
  + XMPresentation
    - LinkType = Embedded
  + XMLogic
    - ValidationConstraint = {Condition={JavaCodeTemplate='@(Data) != null && @(Data.MediaType) != null && @(Data.MediaType).matches("^image/(png)$")'},ErrorMessage="Only PNG images can be used"}
</wiml>
</wiml>

Revision as of 10:23, 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»
DataEmbeddedData_MediaObject«Optional,NoFilter,WithInstanceEditor»
...
XMPresentation LinkTypeEmbedded
DataDownloadData_MediaObject«Optional,NoFilter,WithInstanceEditor»
...
XMPresentation LinkTypeDownload
DataOpenOnTopData_MediaObject«Optional,NoFilter,WithInstanceEditor»
...
XMPresentation LinkTypeOpenOnTop
DataOpenReplaceData_MediaObject«Optional,NoFilter,WithInstanceEditor»
...
XMPresentation LinkTypeOpenReplace
DataOpenNewData_MediaObject«Optional,NoFilter,WithInstanceEditor»
...
XMPresentation LinkTypeOpenNew
DataImagePNGEmbeddedData_MediaObject«Optional,NoFilter,WithInstanceEditor»
...
XMPresentation LinkTypeEmbedded
XMLogic ValidationConstraint{
    Condition = {
        JavaCodeTemplate = Data = nullDataMediaType = nullDataMediaTypematches"^image/(png)$"
    },
    ErrorMessage = "Only PNG images can be used"
}