Esri Geoportal Server
1.0

com.esri.gpt.catalog.discovery
Enum PropertyMeaningType

java.lang.Object
  extended by java.lang.Enum<PropertyMeaningType>
      extended by com.esri.gpt.catalog.discovery.PropertyMeaningType
All Implemented Interfaces:
Serializable, Comparable<PropertyMeaningType>

public enum PropertyMeaningType
extends Enum<PropertyMeaningType>

The enumeration of meaning types for a property.


Enum Constant Summary
ABSTRACT
           
ANYTEXT
           
CONTENTYPE
           
DATATYPE
           
DATEMODIFIED
           
FILEIDENTIFIER
           
GEOMETRY
           
RESOURCETYPE
           
RESOURCEURL
           
THUMBNAILURL
           
TITLE
           
UNKNOWN
           
UUID
           
WEBSITEURL
           
XML
           
XMLURL
           
 
Method Summary
static PropertyMeaningType from(String value)
          Makes a property meaning type from a supplied string value.
static PropertyMeaningType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PropertyMeaningType[] 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

ABSTRACT

public static final PropertyMeaningType ABSTRACT

ANYTEXT

public static final PropertyMeaningType ANYTEXT

CONTENTYPE

public static final PropertyMeaningType CONTENTYPE

DATATYPE

public static final PropertyMeaningType DATATYPE

DATEMODIFIED

public static final PropertyMeaningType DATEMODIFIED

GEOMETRY

public static final PropertyMeaningType GEOMETRY

FILEIDENTIFIER

public static final PropertyMeaningType FILEIDENTIFIER

RESOURCETYPE

public static final PropertyMeaningType RESOURCETYPE

RESOURCEURL

public static final PropertyMeaningType RESOURCEURL

THUMBNAILURL

public static final PropertyMeaningType THUMBNAILURL

TITLE

public static final PropertyMeaningType TITLE

UNKNOWN

public static final PropertyMeaningType UNKNOWN

UUID

public static final PropertyMeaningType UUID

WEBSITEURL

public static final PropertyMeaningType WEBSITEURL

XML

public static final PropertyMeaningType XML

XMLURL

public static final PropertyMeaningType XMLURL
Method Detail

values

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

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

valueOf

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

from

public static PropertyMeaningType from(String value)
                                throws IllegalArgumentException
Makes a property meaning type from a supplied string value.
I null or an empty string is supplied, PropertyMeaningType.UNKNOWN is returned.

Parameters:
value - the value
Returns:
the property comparison type
Throws:
IllegalArgumentException - if the value was invalid

Esri Geoportal Server
1.0

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