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