Package org.jetbrains.mps.openapi.model
Enum SModelName.SModelNameCheck
- java.lang.Object
- 
- java.lang.Enum<SModelName.SModelNameCheck>
- 
- org.jetbrains.mps.openapi.model.SModelName.SModelNameCheck
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<SModelName.SModelNameCheck>
 - Enclosing class:
- SModelName
 
 public static enum SModelName.SModelNameCheck extends Enum<SModelName.SModelNameCheck> Possible SModelName check results.
 ProblemId allow to extract user friendly messages to properties files and use late in UI.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ContainsSpacesEmptySimpleNameIllegalAtSignAtBeginOrEndIllegalAtSignInNamespaceIllegalAtSignInSimpleNameIllegalAtSignInStereotypeIllegalDotInSimpleNameIllegalDotInSimpleNameEndInvalidJavaPackagePass
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetProblemDescription()static SModelName.SModelNameCheckvalueOf(String name)Returns the enum constant of this type with the specified name.static SModelName.SModelNameCheck[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
Passpublic static final SModelName.SModelNameCheck Pass 
 - 
IllegalAtSignInNamespacepublic static final SModelName.SModelNameCheck IllegalAtSignInNamespace 
 - 
IllegalAtSignInSimpleNamepublic static final SModelName.SModelNameCheck IllegalAtSignInSimpleName 
 - 
IllegalAtSignInStereotypepublic static final SModelName.SModelNameCheck IllegalAtSignInStereotype 
 - 
IllegalDotInSimpleNamepublic static final SModelName.SModelNameCheck IllegalDotInSimpleName 
 - 
IllegalDotInSimpleNameEndpublic static final SModelName.SModelNameCheck IllegalDotInSimpleNameEnd 
 - 
IllegalAtSignAtBeginOrEndpublic static final SModelName.SModelNameCheck IllegalAtSignAtBeginOrEnd 
 - 
EmptySimpleNamepublic static final SModelName.SModelNameCheck EmptySimpleName 
 - 
ContainsSpacespublic static final SModelName.SModelNameCheck ContainsSpaces 
 - 
InvalidJavaPackagepublic static final SModelName.SModelNameCheck InvalidJavaPackage 
 
- 
 - 
Method Detail- 
valuespublic static SModelName.SModelNameCheck[] 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 (SModelName.SModelNameCheck c : SModelName.SModelNameCheck.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static SModelName.SModelNameCheck 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
 
 
- 
 
-