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

net.anotheria.anosite.gen.images.data.Image Maven / Gradle / Ivy

There is a newer version: 4.1.2
Show newest version
/**
 ********************************************************************************
 *** Image.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.images.data;

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

public interface Image 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 "title" and domain "EN" for internal storage and queries.
	 */
	String PROP_TITLE_EN	= "title_EN";
	/**
	 * Constant property name for "title" and domain "DE" for internal storage and queries.
	 */
	String PROP_TITLE_DE	= "title_DE";
	/**
	 * Constant property name for "image" for internal storage and queries.
	 */
	String PROP_IMAGE	= "image";
	/**
	 * Constant property name for "size" for internal storage and queries.
	 */
	String PROP_SIZE	= "size";

	/**
	 * 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 title attribute in the "EN" domain.
	 */
	String getTitleEN();

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

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


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

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

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

	/**
	 * Returns the value of the image attribute.
	 */
	String getImage();

	/**
	 * Sets the value of the image attribute.
	 */
	void setImage(String value);

	/**
	 * Returns the value of the size attribute.
	 */
	String getSize();

	/**
	 * Sets the value of the size attribute.
	 */
	void setSize(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