org.eaglei.repository.model
Enum DataModel

java.lang.Object
  extended by java.lang.Enum<DataModel>
      extended by org.eaglei.repository.model.DataModel
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DataModel>

public enum DataModel
extends java.lang.Enum<DataModel>

Access the configurable data model ontology. Started March, 2011

Author:
lcs

Enum Constant Summary
CONTACT_EMAIL_BINDINGS
           
CONTACT_EMAIL_QUERY
           
CONTACT_PROPERTY_OBJECT
           
CONTACT_PROPERTY_PREDICATE
           
EMBEDDED_INSTANCE_OBJECT
           
EMBEDDED_INSTANCE_PREDICATE
           
GRAPH_URI
          Data model elements as enum values:
HIDE_PROPERTY_OBJECT
           
HIDE_PROPERTY_PREDICATE
           
LABEL_PREDICATE
           
VERSION_INFO_SOURCE
           
VERSION_INFO_URI
           
 
Method Summary
 java.lang.String[] getArrayOfString()
          Getter for multiple configured values, returns as string form
 org.openrdf.model.URI[] getArrayOfURI()
          Getter for multiple configured values
 java.lang.String getString()
          Getter for the string form of a configured scalar value.
 org.openrdf.model.URI getURI()
          Getter for configured URI for this value.
 java.lang.String toString()
          Render as string.
static DataModel valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DataModel[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GRAPH_URI

public static final DataModel GRAPH_URI
Data model elements as enum values:


VERSION_INFO_URI

public static final DataModel VERSION_INFO_URI

VERSION_INFO_SOURCE

public static final DataModel VERSION_INFO_SOURCE

HIDE_PROPERTY_PREDICATE

public static final DataModel HIDE_PROPERTY_PREDICATE

HIDE_PROPERTY_OBJECT

public static final DataModel HIDE_PROPERTY_OBJECT

CONTACT_PROPERTY_PREDICATE

public static final DataModel CONTACT_PROPERTY_PREDICATE

CONTACT_PROPERTY_OBJECT

public static final DataModel CONTACT_PROPERTY_OBJECT

EMBEDDED_INSTANCE_PREDICATE

public static final DataModel EMBEDDED_INSTANCE_PREDICATE

EMBEDDED_INSTANCE_OBJECT

public static final DataModel EMBEDDED_INSTANCE_OBJECT

LABEL_PREDICATE

public static final DataModel LABEL_PREDICATE

CONTACT_EMAIL_BINDINGS

public static final DataModel CONTACT_EMAIL_BINDINGS

CONTACT_EMAIL_QUERY

public static final DataModel CONTACT_EMAIL_QUERY
Method Detail

values

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

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

valueOf

public static DataModel 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

getURI

public org.openrdf.model.URI getURI()
Getter for configured URI for this value.

Returns:
URI, never null.

getString

public java.lang.String getString()
Getter for the string form of a configured scalar value.

Returns:
string representation, never null

getArrayOfURI

public org.openrdf.model.URI[] getArrayOfURI()
Getter for multiple configured values

Returns:
array of all configured values, never null

getArrayOfString

public java.lang.String[] getArrayOfString()
Getter for multiple configured values, returns as string form

Returns:
array of String of all configured values, never null

toString

public java.lang.String toString()
Render as string.

Overrides:
toString in class java.lang.Enum<DataModel>
Returns:
String representation of configured scalar value


Copyright © 2009-2011 Eagle-I. All Rights Reserved.