Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package org.nuiton.wikitty.entities;
  
  import java.util.Date;
  import java.util.List;
  import java.util.Set;
 
 @Generated(value = "org.nuiton.wikitty.generator.WikittyAbstractGenerator", date = "Tue Jul 21 11:13:19 CEST 2015")
 public abstract class WikittyTreeNodeAbstract extends BusinessEntityImpl implements WikittyTreeNode {
 
     public static final List<WikittyExtensionextensions;
 
     public static final WikittyExtension extensionWikittyTreeNode;
 
     private static final long serialVersionUID = 7291953647391761250L;
 
     @Override
     public String getName() {
 String value = WikittyTreeNodeHelper.getName(getWikitty());
 return value;
 }
 
     @Override
     public void setName(String name) {
 String oldValue = getName();
 WikittyTreeNodeHelper.setName(getWikitty(), name);
 }
 
     @Override
     public Set<StringgetAttachment() {
 Set<Stringresult = WikittyTreeNodeHelper.getAttachment(getWikitty());
 return result;
 }
 
     @Override
     public void setAttachment(Set<Stringattachment) {
 Set<StringoldValue = getAttachment();
 WikittyTreeNodeHelper.setAttachment(getWikitty(), attachment);
 }
 
     @Override
     public void addAllAttachment(Collection<Stringattachment) {
 Set<StringoldValue = getAttachment();
 WikittyTreeNodeHelper.addAllAttachment(getWikitty(), attachment);
 }
 
     @Override
     public void addAttachment(String... element) {
 Set<StringoldValue = getAttachment();
 WikittyTreeNodeHelper.addAttachment(getWikitty(), element);
 }
 
     @Override
     public void removeAttachment(String... element) {
 Set<StringoldValue = getAttachment();
 WikittyTreeNodeHelper.removeAttachment(getWikitty(), element);
 }
 
     @Override
     public void clearAttachment() {
 WikittyTreeNodeHelper.clearAttachment(getWikitty());
 }
 
     @Override
     public Set<WikittygetAttachment(boolean exceptionIfNotLoaded) {
 Set<Wikittyresult = WikittyTreeNodeHelper.getAttachment(getWikitty(), exceptionIfNotLoaded);
 return result;
 }
 
     @Override
     public void setAttachmentEntity(Collection<Wikittyattachment) {
 Set<WikittyoldValue = getAttachment(false);
 WikittyTreeNodeHelper.setAttachmentEntity(getWikitty(), attachment);
 }
 
     @Override
     public void addAllAttachmentEntity(Collection<Wikittyattachment) {
 Set<WikittyoldValue = getAttachment(false);
 WikittyTreeNodeHelper.addAllAttachmentEntity(getWikitty(), attachment);
 }
 
     @Override
     public void addAttachment(Wikitty... element) {
 Set<WikittyoldValue = getAttachment(false);
 WikittyTreeNodeHelper.addAttachment(getWikitty(), element);
    @Override
    public void removeAttachment(Wikitty... element) {
Set<WikittyoldValue = getAttachment(false);
WikittyTreeNodeHelper.removeAttachment(getWikitty(), element);
    @Override
    public String getParent() {
String value = WikittyTreeNodeHelper.getParent(getWikitty());
return value;
    @Override
    public void setParent(String parent) {
String oldValue = getParent();
WikittyTreeNodeHelper.setParent(getWikitty(), parent);
    @Override
    public WikittyTreeNode getParent(boolean exceptionIfNotLoaded) {
WikittyTreeNode value = WikittyTreeNodeHelper.getParent(getWikitty(), exceptionIfNotLoaded);
return value;
    @Override
    public void setParent(WikittyTreeNode parent) {
WikittyTreeNode oldValue = getParent(false);
WikittyTreeNodeHelper.setParent(getWikitty(), parent);
    public WikittyTreeNodeAbstract() {
        super();
    public WikittyTreeNodeAbstract(Wikitty wikitty) {
        super(wikitty);
    public WikittyTreeNodeAbstract(BusinessEntityImpl businessEntityImpl) {
        super(businessEntityImpl.getWikitty());
    @Override
        return ;
    static {
    
                "4.0"// version
                WikittyUtil.tagValuesToMap(" version=\"4.0\""), // tag/values
                (List)null,
                WikittyUtil.buildFieldMapExtension// building field map
                                                                 "String name fieldIndex=\"1\""
                                             "Wikitty attachment[0-*] unique=\"true\" fieldIndex=\"2\""
                                             "Wikitty parent allowed=\"WikittyTreeNode\" fieldIndex=\"3\""));
        // init extensions
        List<WikittyExtensionexts = new ArrayList<WikittyExtension>();
        exts.add();
         = Collections.unmodifiableList(exts);
    }

    
Return toString representation. Use tagValue 'toString' format, if exist, else standard toString is call

Returns:
    @Override
    public String toString() {
        return WikittyTreeNodeHelper.toString(getWikitty());
//WikittyTreeNodeAbstract
New to GrepCode? Check out our FAQ X