org.semanticdesktop.aperture.websites.flickr
Enum FlickrDataSource.CrawlType

java.lang.Object
  extended by java.lang.Enum<FlickrDataSource.CrawlType>
      extended by org.semanticdesktop.aperture.websites.flickr.FlickrDataSource.CrawlType
All Implemented Interfaces:
Serializable, Comparable<FlickrDataSource.CrawlType>
Enclosing class:
FlickrDataSource

public static enum FlickrDataSource.CrawlType
extends Enum<FlickrDataSource.CrawlType>

Enum of possible values of the crawlType property


Enum Constant Summary
MetadataAndPicturesCrawlType
          Constant representing http://aperture.semanticdesktop.org/ontology/2007/08/11/flickrds#MetadataAndPicturesCrawlType
MetadataOnlyCrawlType
          Constant representing http://aperture.semanticdesktop.org/ontology/2007/08/11/flickrds#MetadataOnlyCrawlType
 
Method Summary
static FlickrDataSource.CrawlType fromUri(URI uri)
           
 URI toUri()
           
static FlickrDataSource.CrawlType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FlickrDataSource.CrawlType[] 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

MetadataAndPicturesCrawlType

public static final FlickrDataSource.CrawlType MetadataAndPicturesCrawlType
Constant representing http://aperture.semanticdesktop.org/ontology/2007/08/11/flickrds#MetadataAndPicturesCrawlType


MetadataOnlyCrawlType

public static final FlickrDataSource.CrawlType MetadataOnlyCrawlType
Constant representing http://aperture.semanticdesktop.org/ontology/2007/08/11/flickrds#MetadataOnlyCrawlType

Method Detail

values

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

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

valueOf

public static FlickrDataSource.CrawlType 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

fromUri

public static FlickrDataSource.CrawlType fromUri(URI uri)

toUri

public URI toUri()


Copyright © 2010 Aperture Development Team. All Rights Reserved.