public class CommonProjectInfo extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Hashtable<String,Object> |
attributes
Todos os atributos do CommonProjectInfo são armazenados nesta Hashtable.
|
String |
description
Descrição do projeto.
|
String |
name
Nome do projeto.
|
Object |
projectId
Identificador do projeto.
|
Object |
userId
Identificação do usuário dono do projeto.
|
| Constructor and Description |
|---|
CommonProjectInfo()
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name)
Retorna o valor de um atributo.
|
Hashtable<String,Object> |
getAttributes()
Retorna uma tabela com todos os atributos do projeto.
|
void |
setAttribute(String name,
Object value)
Atribui um valor a um atributo.
|
void |
setAttributes(Hashtable<String,Object> attributes)
Redefine a tabela com os atributos do projeto.
|
public Object projectId
public Object userId
public String name
public String description
public Object getAttribute(String name)
name - Nome do atributo.public void setAttribute(String name, Object value)
name - Nome do atributo.value - Valor do atributo. Se for nulo, o atributo é removido, caso
exista.public Hashtable<String,Object> getAttributes()
Copyright © 2019. All rights reserved.