Esri Geoportal Server
1.0

com.esri.gpt.catalog.management
Enum MmdEnums.PublicationMethod

java.lang.Object
  extended by java.lang.Enum<MmdEnums.PublicationMethod>
      extended by com.esri.gpt.catalog.management.MmdEnums.PublicationMethod
All Implemented Interfaces:
Serializable, Comparable<MmdEnums.PublicationMethod>
Enclosing class:
MmdEnums

public static enum MmdEnums.PublicationMethod
extends Enum<MmdEnums.PublicationMethod>

An enumeration describing the metadata publication method.


Enum Constant Summary
any
          Any method.
batch
          Published through batch file upload.
editor
          Published through the online editor.
harvester
          Published through the harvester.
other
          Published through another method (default value).
registration
          Published through registration.
seditor
          Published through the sdi.suite smartEditor.
upload
          Published through file upload.
 
Method Summary
static MmdEnums.PublicationMethod checkValue(String method)
          Checks the value of a String to determine the corresponding enum.
static MmdEnums.PublicationMethod defaultValue()
          Returns the default value for the enum.
static MmdEnums.PublicationMethod valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MmdEnums.PublicationMethod[] 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

any

public static final MmdEnums.PublicationMethod any
Any method.


editor

public static final MmdEnums.PublicationMethod editor
Published through the online editor.


upload

public static final MmdEnums.PublicationMethod upload
Published through file upload.


batch

public static final MmdEnums.PublicationMethod batch
Published through batch file upload.


harvester

public static final MmdEnums.PublicationMethod harvester
Published through the harvester.


registration

public static final MmdEnums.PublicationMethod registration
Published through registration.


seditor

public static final MmdEnums.PublicationMethod seditor
Published through the sdi.suite smartEditor.


other

public static final MmdEnums.PublicationMethod other
Published through another method (default value).

Method Detail

values

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

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

valueOf

public static MmdEnums.PublicationMethod 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

checkValue

public static MmdEnums.PublicationMethod checkValue(String method)
Checks the value of a String to determine the corresponding enum.

Parameters:
method - the string to check
Returns:
the corresponding enum (default is PublicationMethod.other)

defaultValue

public static MmdEnums.PublicationMethod defaultValue()
Returns the default value for the enum.

Returns:
PublicationMethod.other

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.