de.hs_rm.cs.lecturenotes.shared
Enum AnnotationAttributeEnum

java.lang.Object
  extended by java.lang.Enum<AnnotationAttributeEnum>
      extended by de.hs_rm.cs.lecturenotes.shared.AnnotationAttributeEnum
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, java.io.Serializable, java.lang.Comparable<AnnotationAttributeEnum>

public enum AnnotationAttributeEnum
extends java.lang.Enum<AnnotationAttributeEnum>
implements com.google.gwt.user.client.rpc.IsSerializable

Table Attributes for Table annotation.

Author:
Enrico Homann

Enum Constant Summary
annotationDiscriminator
          Discriminator Attribute to separate Annotations.
content
          Content of this annotation.
creationUnixTimestamp
          Creation Unix Timestamp.
iconType
          Icon type.
id
          Primary Key Identifier.
lastModifiedUnixTimestamp
          Last Modified Unix Timestamp.
paragraphId
          Paragraph Id.
parentId
          Identifier to a parent Annotation.
position
          Position of this annotation.
title
          Title of this annotation.
userId
          User Id.
 
Method Summary
 java.lang.String getSortDisplayName()
          Will return the display names in a sorting context.
static AnnotationAttributeEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AnnotationAttributeEnum[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

id

public static final AnnotationAttributeEnum id
Primary Key Identifier.


paragraphId

public static final AnnotationAttributeEnum paragraphId
Paragraph Id. From 1:N relationship.


userId

public static final AnnotationAttributeEnum userId
User Id. From 1:N relationship.


parentId

public static final AnnotationAttributeEnum parentId
Identifier to a parent Annotation.


position

public static final AnnotationAttributeEnum position
Position of this annotation.


title

public static final AnnotationAttributeEnum title
Title of this annotation.


content

public static final AnnotationAttributeEnum content
Content of this annotation.


iconType

public static final AnnotationAttributeEnum iconType
Icon type. Numerical/ordinal.


annotationDiscriminator

public static final AnnotationAttributeEnum annotationDiscriminator
Discriminator Attribute to separate Annotations.


creationUnixTimestamp

public static final AnnotationAttributeEnum creationUnixTimestamp
Creation Unix Timestamp.


lastModifiedUnixTimestamp

public static final AnnotationAttributeEnum lastModifiedUnixTimestamp
Last Modified Unix Timestamp.

Method Detail

values

public static AnnotationAttributeEnum[] 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 (AnnotationAttributeEnum c : AnnotationAttributeEnum.values())
    System.out.println(c);

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

valueOf

public static AnnotationAttributeEnum valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getSortDisplayName

public java.lang.String getSortDisplayName()
Will return the display names in a sorting context.

Returns:
String