org.apache.maven.dotnet.dao
Enum ProjectUri

java.lang.Object
  extended by java.lang.Enum<ProjectUri>
      extended by org.apache.maven.dotnet.dao.ProjectUri
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ProjectUri>

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

Enumeration of the project uri predicates.


Enum Constant Summary
ARTIFACT
           
ARTIFACT_ID
           
ARTIFACT_TYPE
           
CLASSIFIER
           
DEPENDENCY
           
FRAMEWORK_VERSION
           
GROUP_ID
           
IS_RESOLVED
           
PARENT
           
VENDOR
           
VERSION
           
 
Method Summary
 java.lang.String getObjectBinding()
           
 java.lang.String getPredicate()
           
 boolean isOptional()
           
 void setOptional(boolean isOptional)
           
static ProjectUri valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProjectUri[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
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
 

Enum Constant Detail

GROUP_ID

public static final ProjectUri GROUP_ID

ARTIFACT_ID

public static final ProjectUri ARTIFACT_ID

VERSION

public static final ProjectUri VERSION

ARTIFACT_TYPE

public static final ProjectUri ARTIFACT_TYPE

CLASSIFIER

public static final ProjectUri CLASSIFIER

IS_RESOLVED

public static final ProjectUri IS_RESOLVED

ARTIFACT

public static final ProjectUri ARTIFACT

DEPENDENCY

public static final ProjectUri DEPENDENCY

PARENT

public static final ProjectUri PARENT

VENDOR

public static final ProjectUri VENDOR

FRAMEWORK_VERSION

public static final ProjectUri FRAMEWORK_VERSION
Method Detail

values

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

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

valueOf

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

getPredicate

public java.lang.String getPredicate()

getObjectBinding

public java.lang.String getObjectBinding()

isOptional

public boolean isOptional()

setOptional

public void setOptional(boolean isOptional)


Copyright © 2007 NMaven. All Rights Reserved.