@MappedSuperclass
@AnalyzerDef(name="htmlStrip",
charFilters=@CharFilterDef(factory=org.apache.lucene.analysis.charfilter.HTMLStripCharFilterFactory.class),
filters=@TokenFilterDef(factory=org.apache.lucene.analysis.core.LowerCaseFilterFactory.class),
tokenizer=@TokenizerDef(factory=org.apache.lucene.analysis.standard.StandardTokenizerFactory.class))
public abstract class GenericLibraryNode
extends Object
implements LibraryNode, AttachmentHolder
| Constructor and Description |
|---|
GenericLibraryNode() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AttachmentList |
getAttachmentList()
Should return the container for this object's attachments.
|
String |
getDescription() |
protected abstract Class<? extends GenericLibraryNode> |
getGenericNodeClass()
Used internally, this class must be implemented by first-descendant of this (GenericLibraryNode) class.
|
String |
getName() |
Project |
getProject() |
int |
hashCode() |
void |
notifyAssociatedWithProject(Project project)
Notifies this object it is now a resource of the given project.
|
void |
setDescription(String description) |
void |
setName(String name) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcreateCopygetIdgetLibrarypublic Project getProject()
getProject in interface TreeNodegetProject in interface ProjectResource<Project>null.public void setName(String name)
setName in interface CopiablesetName in interface LibraryNodename - The name of this node. Should not be blank or null.public void setDescription(String description)
setDescription in interface LibraryNodedescription - the new node descriptionpublic String getName()
getName in interface CopiablegetName in interface LibraryNodepublic String getDescription()
getDescription in interface LibraryNodepublic void notifyAssociatedWithProject(Project project)
notifyAssociatedWithProject in interface LibraryNodeproject - should not be nullpublic AttachmentList getAttachmentList()
AttachmentHoldernull.getAttachmentList in interface AttachmentHolderAttachmentList of this object.protected abstract Class<? extends GenericLibraryNode> getGenericNodeClass()
Copyright © 2010–2016 Henix, henix.fr. All rights reserved.