net.anotheria.anosite.gen.asblogdata.data.Post Maven / Gradle / Ivy
/**
********************************************************************************
*** Post.java ***
*** generated by AnoSiteGenerator (ASG), Version: 2.6.3 ***
*** Copyright (C) 2005 - 2010 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.asblogdata.data;
import net.anotheria.asg.data.DataObject;
import java.util.List;
import net.anotheria.util.sorter.IComparable;
public interface Post extends DataObject, IComparable {
/**
* Constant property name for "id" for internal storage and queries.
*/
public static final String PROP_ID = "id";
/**
* Constant property name for "created" for internal storage and queries.
*/
public static final String PROP_CREATED = "created";
/**
* Constant property name for "updated" for internal storage and queries.
*/
public static final String PROP_UPDATED = "updated";
/**
* Constant property name for "name" for internal storage and queries.
*/
public static final String PROP_NAME = "name";
/**
* Constant property name for "blogger" for internal storage and queries.
*/
public static final String PROP_BLOGGER = "blogger";
/**
* Constant property name for "content" for internal storage and queries.
*/
public static final String PROP_CONTENT = "content";
/**
* Constant property name for "comments" for internal storage and queries.
*/
public static final String PROP_COMMENTS = "comments";
/**
* Constant property name for "tags" for internal storage and queries.
*/
public static final String PROP_TAGS = "tags";
/**
* Returns the value of the created attribute.
*/
public long getCreated();
/**
* Sets the value of the created attribute.
*/
public void setCreated(long value);
/**
* Returns the value of the updated attribute.
*/
public long getUpdated();
/**
* Sets the value of the updated attribute.
*/
public void setUpdated(long value);
/**
* Returns the value of the name attribute.
*/
public String getName();
/**
* Sets the value of the name attribute.
*/
public void setName(String value);
/**
* Returns the value of the blogger attribute.
*/
public String getBlogger();
/**
* Sets the value of the blogger attribute.
*/
public void setBlogger(String value);
/**
* Returns the value of the content attribute.
*/
public String getContent();
/**
* Sets the value of the content attribute.
*/
public void setContent(String value);
/**
* Returns the value of the comments attribute.
*/
public List getComments();
/**
* Sets the value of the comments attribute.
*/
public void setComments(List value);
/**
* Returns the value of the tags attribute.
*/
public List getTags();
/**
* Sets the value of the tags attribute.
*/
public void setTags(List value);
/**
* Returns the number of elements in the "comments" container
*/
public int getCommentsSize();
/**
* Adds a new element to the list.
*/
public void addCommentsElement(String postCommentLink);
/**
* Removes the element at position index from the list.
*/
public void removeCommentsElement(int index);
/**
* Swaps elements at positions index1 and index2 in the list.
*/
public void swapCommentsElement(int index1, int index2);
/**
* Returns the element at the position index in the list.
*/
public String getCommentsElement(int index);
/**
* Returns the number of elements in the "tags" container
*/
public int getTagsSize();
/**
* Adds a new element to the list.
*/
public void addTagsElement(String postTagLink);
/**
* Removes the element at position index from the list.
*/
public void removeTagsElement(int index);
/**
* Swaps elements at positions index1 and index2 in the list.
*/
public void swapTagsElement(int index1, int index2);
/**
* Returns the element at the position index in the list.
*/
public String getTagsElement(int index);
}