java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.TreeSet<E>
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<E>, Collection<E>, Set<E>, SortedSet<E>
- See Also:
- Top Examples, Source Code,
HashSet
,
Comparable
,
Comparator
,
Collections.synchronizedSortedSet(SortedSet)
,
TreeMap
public boolean add(E o)
- See Also:
- ClassCastException, AbstractCollection, Set, Collection
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean add(Object o)
- See Also:
- ClassCastException, AbstractCollection, Set
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
[805]BusinessObject
By Anonymous on 2004/06/15 10:01:47 Rate
package br.cnpq.lattesFomento.solicitacao.negocio.submissao;
import java.util.Collection;
import java.util.Date;
import java.util.TreeSet;
import java.io.Serializable;
import org.cesar.fc.domain.BusinessObject;
public class Projeto extends BusinessObject implements Serializable {
private Long id;
private String unidade;
private Date dataInicio;
private Integer duracao;
private String sigla;
private String titulo;
private String nomeArquivoDescricao;
private String url;
private Date dataUltimaAtualizacao;
private String usernameUltimaAtualizacao;
private String recebeuRecursosOutrasFontes;
private IProposta proposta;
private Collection palavrasChave;
public Projeto ( ) {
}
public Long getId ( ) {
return this.id;
}
public void setId ( Long id ) {
this.id = id;
}
public String getUnidade ( ) {
return this.unidade;
}
public void setUnidade ( String unidade ) {
this.unidade = unidade;
}
public Date getDataInicio ( ) {
return this.dataInicio;
}
public void setDataInicio ( Date dataInicio ) {
this.dataInicio = dataInicio;
}
public Integer getDuracao ( ) {
return this.duracao;
}
public void setDuracao ( Integer duracao ) {
this.duracao = duracao;
}
public String getSigla ( ) {
return this.sigla;
}
public void setSigla ( String sigla ) {
this.sigla = sigla;
}
public String getTitulo ( ) {
return this.titulo;
}
public void setTitulo ( String titulo ) {
this.titulo = titulo;
}
public String getNomeArquivoDescricao ( ) {
return this.nomeArquivoDescricao;
}
public void setNomeArquivoDescricao ( String nomeArquivoDescricao ) {
this.nomeArquivoDescricao = nomeArquivoDescricao;
}
public String getUrl ( ) {
return this.url;
}
public void setUrl ( String url ) {
this.url = url;
}
public Date getDataUltimaAtualizacao ( ) {
return this.dataUltimaAtualizacao;
}
public void setDataUltimaAtualizacao ( Date dataUltimaAtualizacao ) {
this.dataUltimaAtualizacao = dataUltimaAtualizacao;
}
public String getUsernameUltimaAtualizacao ( ) {
return this.usernameUltimaAtualizacao;
}
public void setUsernameUltimaAtualizacao ( String usernameUltimaAtualizacao ) {
this.usernameUltimaAtualizacao = usernameUltimaAtualizacao;
}
public String getRecebeuRecursosOutrasFontes ( ) {
return this.recebeuRecursosOutrasFontes;
}
public void setRecebeuRecursosOutrasFontes ( String recebeuRecursosOutrasFontes ) {
this.recebeuRecursosOutrasFontes = recebeuRecursosOutrasFontes;
}
public void checkConsistence ( ) {
// TODO Auto-generated method stub
}
public IProposta getProposta ( ) {
return proposta;
}
public void setProposta ( IProposta proposta ) {
this.proposta = proposta;
}
public Collection getPalavrasChave ( ) {
return palavrasChave;
}
public void add ( PalavraChave palavraChave ) {
if ( palavrasChave ==null ) {
palavrasChave = new TreeSet ( ) ;
}
if ( palavrasChave.contains ( palavraChave ) ) {
palavrasChave.remove ( palavraChave ) ;
}
palavrasChave.add ( palavraChave ) ;
}
public PalavraChave criarPalavraChave ( long sequencia, String texto ) {
PalavraChave palavraChave = new PalavraChave ( ) ;
palavraChave.setId ( new IdClasseSubmissao ( this.getId ( ) .longValue ( ) ,sequencia ) ) ;
palavraChave.setTexto ( texto ) ;
return palavraChave;
}
public void removerPalavraChave ( long sequencia ) {
PalavraChave palavraChave = new PalavraChave ( ) ;
palavraChave.setId ( new IdClasseSubmissao ( this.getId ( ) .longValue ( ) ,sequencia ) ) ;
if ( palavrasChave != null ) {
palavrasChave.remove ( palavraChave ) ;
}
}
}
public boolean addAll(Collection<? extends E> c)
- See Also:
AbstractCollection.add(Object)
, NullPointerException, ClassCastException, Set
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void clear()
- See Also:
- E, AbstractCollection, Set, Collection
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Object clone()
- See Also:
Cloneable
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Comparator<? super E> comparator()
- See Also:
- SortedSet
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean contains(Object o)
- See Also:
- ClassCastException, E, AbstractCollection, Set, Collection
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public E first()
- See Also:
- NoSuchElementException, SortedSet
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public SortedSet<E> headSet(E toElement)
- See Also:
- NullPointerException, IllegalArgumentException, ClassCastException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public SortedSet headSet(Object toElement)
- See Also:
- NullPointerException, IllegalArgumentException, ClassCastException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isEmpty()
- See Also:
- E, AbstractCollection, Set, Collection
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Iterator<E> iterator()
- See Also:
- AbstractCollection, Set, Collection, Iterable
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public E last()
- See Also:
- NoSuchElementException, SortedSet
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean remove(Object o)
- See Also:
- ClassCastException, E, AbstractCollection, Set, Collection
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int size()
- See Also:
- E, AbstractCollection, Set, Collection
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public SortedSet<E> subSet(E fromElement,
E toElement)
- See Also:
- NullPointerException, IllegalArgumentException, ClassCastException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public SortedSet subSet(Object fromElement,
Object toElement)
- See Also:
- NullPointerException, IllegalArgumentException, ClassCastException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public SortedSet<E> tailSet(E fromElement)
- See Also:
- NullPointerException, IllegalArgumentException, ClassCastException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public SortedSet tailSet(Object fromElement)
- See Also:
- NullPointerException, IllegalArgumentException, ClassCastException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public TreeSet()
- See Also:
Comparable
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public TreeSet(Collection<? extends E> c)
- See Also:
- NullPointerException, ClassCastException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public TreeSet(Comparator<? super E> c)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public TreeSet(SortedSet<E> s)
- See Also:
- NullPointerException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples