All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.ValueObject.xpt Maven / Gradle / Ivy

There is a newer version: 6.0.2
Show newest version
?IMPORT dom?
?IMPORT core?
?EXTENSION extensions::EntityExtension?
?EXTENSION extensions::Names?
?EXTENSION extensions::File?
?EXTENSION org::openxma::dsl::common::extensions::LogUtil?

?DEFINE main FOR Model?
	?EXPAND genClass FOREACH elements.typeSelect(ValueObject)?
	?EXPAND manClass FOREACH elements.typeSelect(ValueObject)?
?ENDDEFINE?

?DEFINE genClass FOR ValueObject?
?info("Write "+getGenClassFileName())?
?FILE getGenClassFileName()-?
package ?getPackageName(true)?;

import java.io.Serializable;
?addImports()-?

?EXPAND Documentation::documentation FOR this-?
public class ?getGenClassName()? implements Serializable {
    ?EXPAND Features::serialVersionUID FOR this-?
	?EXPAND Features::attributes FOR this-?
  
	?EXPAND Features::properties FOR this-?
	?EXPAND Features::toString   FOR this-?
}
?ENDFILE?
?ENDDEFINE?

?DEFINE manClass FOR ValueObject?
?info("Write "+getClassFileName())?
?FILE getClassFileName() OUTLET_JAVA-?
package ?getPackageName(true)?;

?EXPAND Documentation::documentation FOR this-?
public class ?name? extends ?getGenClassName()? {
	private static final long serialVersionUID = 1L;

}
?ENDFILE?
?ENDDEFINE?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy