Code Search for Developers
 
 
  

CompositeContentAux.java from Kneobase at Krugle


Show CompositeContentAux.java syntax highlighted

/*
 * Created on 05/11/2004
 *
 */
package com.kneobase.driver.content;

import java.util.Collection;
import java.util.Iterator;

import com.kneobase.KneobaseException;

/**
 * @author Ernesto De Santis
 *
 */
public class CompositeContentAux extends A_CompositeContent {
    
    private String type;
    private String name;
    private long lastModified = 0;
    private Collection children;

    public CompositeContentAux(){
        super(null);
    }

    public CompositeContentAux(Object object){
        super(object);
    }

    public Iterator getChildrenIterator() throws KneobaseException {
        return children.iterator();
    }

    /**
     * @return
     */
    public String getName() {
        return name;
    }

    /**
     * @return
     */
    public String getType() {
        return type;
    }

    /**
     * @param string
     */
    public void setName(String string) {
        name = string;
    }

    /**
     * @param string
     */
    public void setType(String string) {
        type = string;
    }

    /**
     * @param collection
     */
    public void setChildren(Collection collection) {
        children = collection;
    }

    /* (non-Javadoc)
     * @see com.kneobase.driver.I_Content#getUID()
     */
    public String getUuid() {
        return name;
    }

    public long lastModified() {
        return lastModified;
    }
        
    /**
     * @param l
     */
    public void setLastModified(long l) {
        lastModified = l;
    }

    public long getSize() {
        return 0;
    }

}




See more files for this project here

Kneobase

Kneobase is an enterprise search engine, based upon the Lucene search engine and the Spring framework. It allows to perform full-text search across many different content sources. It is highly adaptable out-of-the-box and has a pluggable architecture.

Project homepage: http://sourceforge.net/projects/kneobase
Programming language(s): Java,XML
License: other

  CompositeContentAux.java
  ContentConfigurationAux.java
  ContentSourceAux.java
  ContentUnitAdapterAux.java
  ContentUnitAux.java
  SourceCriteriaTest.java