com.bea.dsp.management.resource
Enum ResourceType.Value
java.lang.Object
java.lang.Enum<ResourceType.Value>
com.bea.dsp.management.resource.ResourceType.Value
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ResourceType.Value>
- Enclosing interface:
- ResourceType
public static enum ResourceType.Value
- extends java.lang.Enum<ResourceType.Value>
- implements java.io.Serializable
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
DS
public static final ResourceType.Value DS
XFL
public static final ResourceType.Value XFL
- Deprecated.
XSD
public static final ResourceType.Value XSD
UPT
public static final ResourceType.Value UPT
WSDL
public static final ResourceType.Value WSDL
JAR
public static final ResourceType.Value JAR
XML
public static final ResourceType.Value XML
CSV
public static final ResourceType.Value CSV
SQI
public static final ResourceType.Value SQI
WSI
public static final ResourceType.Value WSI
WSP
public static final ResourceType.Value WSP
SPACE
public static final ResourceType.Value SPACE
SERVICE
public static final ResourceType.Value SERVICE
SOURCES
public static final ResourceType.Value SOURCES
SERVICE_ACCOUNT
public static final ResourceType.Value SERVICE_ACCOUNT
DEFINITION_TYPES
public static final java.util.Set<ResourceType.Value> DEFINITION_TYPES
CONFIGURATION_TYPES
public static final java.util.Set<ResourceType.Value> CONFIGURATION_TYPES
REPOSITORY_TYPES
public static final java.util.Set<ResourceType.Value> REPOSITORY_TYPES
ALL_TYPES
public static final java.util.Set<ResourceType.Value> ALL_TYPES
values
public static final ResourceType.Value[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(ResourceType.Value c : ResourceType.Value.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static ResourceType.Value 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
getTypeId
public java.lang.String getTypeId()
- Returns:
- A string value representing the identifier for this resource type.
May not be null.
getFileExtension
public java.lang.String getFileExtension()
- Returns:
- A string value representing the file extension associated with this resource type.
May not be null.
forTypeId
public static ResourceType.Value forTypeId(java.lang.String typeId)
- Parameters:
typeId
- May not be null.
- Returns:
- The resource type for the specified typeId.
null if the typeId is not recognized.
forLocator
public static ResourceType.Value forLocator(java.lang.String locator)
- Parameters:
locator
- May not be null.
- Returns:
- The resource type of the specified locator.
null if the locator type is not recognized.
isDefinition
public static boolean isDefinition(java.lang.String locator)
- Parameters:
locator
- May not be null.
- Returns:
- true if the specified locator corresponds to
a data space model artifact; otherwise, false.
isConfiguration
public static boolean isConfiguration(java.lang.String locator)
- Parameters:
locator
- May not be null.
- Returns:
- true if the specified locator corresponds to
a configuration artifact; otherwise, false.
isRepository
public static boolean isRepository(ResourceType.Value v)
- Parameters:
locator
- May not be null.
- Returns:
- true if the specified locator corresponds to
an artifact that is exposed through the metadata service;
otherwise, false.
Copyright © 2007 BEA Systems Inc. All Rights Reserved.