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

net.anotheria.anosite.gen.asresourcedata.data.TextResource Maven / Gradle / Ivy

There is a newer version: 4.1.2
Show newest version
/**
 ********************************************************************************
 *** TextResource.java                                                        ***
 *** generated by AnoSiteGenerator (ASG), Version: 3.2.2                      ***
 *** Copyright (C) 2005 - 2023 Anotheria.net, www.anotheria.net               ***
 *** All Rights Reserved.                                                     ***
 ********************************************************************************
 *** Don't edit this code, if you aren't sure                                 ***
 *** that you do exactly know what you are doing!                             ***
 *** It's better to invest time in the generator, as into the generated code. ***
 ********************************************************************************
 */

package net.anotheria.anosite.gen.asresourcedata.data;

import net.anotheria.asg.data.DataObject;
import net.anotheria.util.sorter.IComparable;

public interface TextResource extends DataObject, IComparable {

	/**
	 * Constant property name for "id" for internal storage and queries.
	 */
	String PROP_ID	= "id";
	/**
	 * Constant property name for "name" for internal storage and queries.
	 */
	String PROP_NAME	= "name";
	/**
	 * Constant property name for "value" and domain "EN" for internal storage and queries.
	 */
	String PROP_VALUE_EN	= "value_EN";
	/**
	 * Constant property name for "value" and domain "DE" for internal storage and queries.
	 */
	String PROP_VALUE_DE	= "value_DE";

	/**
	 * Returns the value of the name attribute.
	 */
	String getName();

	/**
	 * Sets the value of the name attribute.
	 */
	void setName(String value);

	/**
	 * Returns the value of the value attribute in the "EN" domain.
	 */
	String getValueEN();

	/**
	 * Returns the value of the value attribute in the "DE" domain.
	 */
	String getValueDE();

	/**
	 * Returns the current value of the value attribute.
	 * Current means in the currently selected domain.
	 */
	String getValue();


	/**
	 * Sets the value of the value attribute in the domain "EN"
	 */
	void setValueEN(String value);

	/**
	 * Sets the value of the value attribute in the domain "DE"
	 */
	void setValueDE(String value);

	/**
	 * Sets the value of the value attribute in the current domain. Current means in the currently selected domain.
	 */
	void setValue(String value);



	/**
	 * Copies all multilingual properties from source language to destination language 
	 */
	void copyLANG2LANG(String sourceLanguge, String destLanguage);

	/**
	 * Copies all multilingual properties from language EN to language DE
	 */
	void copyEN2DE();

	/**
	 * Copies all multilingual properties from language DE to language EN
	 */
	void copyDE2EN();


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy