Package br.com.davinti.vitruvio.spi
Enum Class FormDataContent
- All Implemented Interfaces:
Serializable,Comparable<FormDataContent>,Constable
Especifica o conteudo de um objeto form data
- Author:
- Eduardo Frazao
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEste FormData representa apenas dados alterados.Representa toda a massa de dados do formulario. -
Method Summary
Modifier and TypeMethodDescriptionstatic FormDataContentReturns the enum constant of this class with the specified name.static FormDataContent[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WHOLE_DATA
Representa toda a massa de dados do formulario. Este seria o estado atual. Caso este objeto seja persistido, o servico de dados trabalhara para inserir novos dados, atualizar dados existentes e deletar dados previamente persistidos que nao constarem na relacao deste objeto -
CHANGED_DATA
Este FormData representa apenas dados alterados. Caso seja persistido, o sistema trabalhara para inserir novos dados, atualizar dados ja existentes, e excluir apenas os dados que foram apontados para exclusao. Dados previamente persistidos na base e que nao constarem nesta relacao serao mantidos, e a persistencia sera incremental
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-