pt.digitalis.dif.utils.extensions.document
Enum DocumentRepositoryEntry.Fields

java.lang.Object
  extended by java.lang.Enum<DocumentRepositoryEntry.Fields>
      extended by pt.digitalis.dif.utils.extensions.document.DocumentRepositoryEntry.Fields
All Implemented Interfaces:
Serializable, Comparable<DocumentRepositoryEntry.Fields>
Enclosing class:
DocumentRepositoryEntry

public static enum DocumentRepositoryEntry.Fields
extends Enum<DocumentRepositoryEntry.Fields>

Document Fields

Author:
Galaio da Silva jgalaio@digitalis.pt
Created on:
Jun 15, 2009

Enum Constant Summary
BYTE_CONTENT
          The file in bytes
CREATION_DATE
          Creation Date
CREATOR
          The creator id
DESCRIPTION
          Document Description
FILENAME
          Original file name
ID
          Document Id
MIMETYPE
          The file myme type
NAME
          Document Name
 
Method Summary
static DocumentRepositoryEntry.Fields valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DocumentRepositoryEntry.Fields[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BYTE_CONTENT

public static final DocumentRepositoryEntry.Fields BYTE_CONTENT
The file in bytes


CREATION_DATE

public static final DocumentRepositoryEntry.Fields CREATION_DATE
Creation Date


CREATOR

public static final DocumentRepositoryEntry.Fields CREATOR
The creator id


DESCRIPTION

public static final DocumentRepositoryEntry.Fields DESCRIPTION
Document Description


FILENAME

public static final DocumentRepositoryEntry.Fields FILENAME
Original file name


ID

public static final DocumentRepositoryEntry.Fields ID
Document Id


MIMETYPE

public static final DocumentRepositoryEntry.Fields MIMETYPE
The file myme type


NAME

public static final DocumentRepositoryEntry.Fields NAME
Document Name

Method Detail

values

public static DocumentRepositoryEntry.Fields[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DocumentRepositoryEntry.Fields c : DocumentRepositoryEntry.Fields.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DocumentRepositoryEntry.Fields valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.