blob: 9bf2894c77f4162fde18d938926a10dd4faf8785 [file] [log] [blame]
#parse("org/eclipse/tigerstripe/workbench/internal/core/model/persist/resources/header.vm")
#*
Copyright (c) 2007 Cisco Systems, Inc.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
E. Dillon (Cisco Systems, Inc.) - reformat for Code Open-Sourcing
*#
/**
* $xmlEncode.encode($artifact.Comment)
*
* @tigerstripe.managedEntity primary-key="$artifact.IStandardSpecifics.PrimaryKey"
* extensibilityType="$artifact.IStandardSpecifics.ExtensibilityType"
* isSessionFactoryMethods="$artifact.IStandardSpecifics.isSessionFactoryMethods()"
* isAbstract = "$artifact.isAbstract()"
* implements = "$artifact.getImplementedArtifactsAsStr()"
* @tigerstripe.key-interface package = "$artifact.IStandardSpecifics.InterfaceProperties.get("package")"
* generate = "true"
* @tigerstripe.value package = "$artifact.IStandardSpecifics.InterfaceProperties.get("package")"
* generate = "true"
*
* @tigerstripe.property ts.id="ossj.entity.create"
#foreach( $key in $artifact.getCreateProperties().keySet())
* $key = "$artifact.getCreateProperties().getProperty($key)"
#end
*
* @tigerstripe.property ts.id="ossj.entity.get"
#foreach( $key in $artifact.getGetProperties().keySet())
* $key = "$artifact.getGetProperties().getProperty($key)"
#end
*
* @tigerstripe.property ts.id="ossj.entity.set"
#foreach( $key in $artifact.getSetProperties().keySet())
* $key = "$artifact.getSetProperties().getProperty($key)"
#end
*
* @tigerstripe.property ts.id="ossj.entity.remove"
#foreach( $key in $artifact.getRemoveProperties().keySet())
* $key = "$artifact.getRemoveProperties().getProperty($key)"
#end
*
## Take care of the stereotypes
#parse("org/eclipse/tigerstripe/workbench/internal/core/model/persist/resources/artifacts/artifactLevelStereotype.vm")
*
#foreach( $tag in $artifact.NonTigerstripeTags )
* $tag
#end
*/
public abstract class $artifact.Name
#if( $artifact.hasExtends() )
extends $artifact.Extends.FullyQualifiedName
#end {
#foreach($labelRef in $wizard.get("constantList"))
/**
* @tigerstripe.label
* value = '$labelRef.Value'
*
* @uml.property name="$labelRef.Name" multiplicity="(0 1)"
*
*/
public final static $labelRef.getLabelClass() $labelRef.Name = $labelRef.Value;
#end
#parse("org/eclipse/tigerstripe/workbench/internal/core/model/persist/resources/refComments.vm")
#parse("org/eclipse/tigerstripe/workbench/internal/core/model/persist/resources/field.vm")
#parse("org/eclipse/tigerstripe/workbench/internal/core/model/persist/resources/constant.vm")
#parse("org/eclipse/tigerstripe/workbench/internal/core/model/persist/resources/method.vm")
}