@Test public void testIsValid () { assertTrue (VESID.isValidPart ("com")); assertTrue (VESID.isValidPart ("com.helger")); assertTrue (VESID.isValidPart ("01234")); assertTrue (VESID.isValidPart ("1.2.3.4.5")); assertTrue (VESID.isValidPart ("ph-as4")); assertTrue (VESID.isValidPart ("-.___")); assertFalse (VESID.isValidPart (null)); assertFalse (VESID.isValidPart ("")); assertFalse (VESID.isValidPart ("ä")); assertFalse (VESID.isValidPart ("a:b")); }
public static boolean isValidPart (@Nullable final String sPart) { return StringHelper.hasText (sPart) && RegExHelper.stringMatchesPattern (REGEX_PART, sPart); }
VESID implements Comparable <VESID> { public static boolean isValidPart (@Nullable final String sPart) { return StringHelper.hasText (sPart) && RegExHelper.stringMatchesPattern (REGEX_PART, sPart); } }
VESID implements Comparable <VESID> { public static boolean isValidPart (@Nullable final String sPart) { return StringHelper.hasText (sPart) && RegExHelper.stringMatchesPattern (REGEX_PART, sPart); } VESID(@Nonnull @Nonempty final String sGroupID,
                @Nonnull @Nonempty final String sArtifactID,
                @Nonnull @Nonempty final String sVersion);  VESID(@Nonnull @Nonempty final String sGroupID,
                @Nonnull @Nonempty final String sArtifactID,
                @Nonnull @Nonempty final String sVersion,
                @Nullable final String sClassifier); }
VESID implements Comparable <VESID> { public static boolean isValidPart (@Nullable final String sPart) { return StringHelper.hasText (sPart) && RegExHelper.stringMatchesPattern (REGEX_PART, sPart); } VESID(@Nonnull @Nonempty final String sGroupID,
                @Nonnull @Nonempty final String sArtifactID,
                @Nonnull @Nonempty final String sVersion);  VESID(@Nonnull @Nonempty final String sGroupID,
                @Nonnull @Nonempty final String sArtifactID,
                @Nonnull @Nonempty final String sVersion,
                @Nullable final String sClassifier); static boolean isValidPart(@Nullable final String sPart); @Nonnull @Nonempty String getGroupID(); @Nonnull @Nonempty String getArtifactID(); @Nonnull @Nonempty String getVersion(); boolean hasClassifier(); @Nullable String getClassifier(); @Nonnull VESID getWithVersion(@Nonnull @Nonempty final String sNewVersion); @Nonnull VESID getWithClassifier(@Nullable final String sNewClassifier); @Nonnull @Nonempty String getAsSingleID(); int compareTo(final VESID aOther); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); @Nonnull static VESID parseID(@Nullable final String sVESID); @Nullable static VESID parseIDOrNull(@Nullable final String sVESID); }
VESID implements Comparable <VESID> { public static boolean isValidPart (@Nullable final String sPart) { return StringHelper.hasText (sPart) && RegExHelper.stringMatchesPattern (REGEX_PART, sPart); } VESID(@Nonnull @Nonempty final String sGroupID,
                @Nonnull @Nonempty final String sArtifactID,
                @Nonnull @Nonempty final String sVersion);  VESID(@Nonnull @Nonempty final String sGroupID,
                @Nonnull @Nonempty final String sArtifactID,
                @Nonnull @Nonempty final String sVersion,
                @Nullable final String sClassifier); static boolean isValidPart(@Nullable final String sPart); @Nonnull @Nonempty String getGroupID(); @Nonnull @Nonempty String getArtifactID(); @Nonnull @Nonempty String getVersion(); boolean hasClassifier(); @Nullable String getClassifier(); @Nonnull VESID getWithVersion(@Nonnull @Nonempty final String sNewVersion); @Nonnull VESID getWithClassifier(@Nullable final String sNewClassifier); @Nonnull @Nonempty String getAsSingleID(); int compareTo(final VESID aOther); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); @Nonnull static VESID parseID(@Nullable final String sVESID); @Nullable static VESID parseIDOrNull(@Nullable final String sVESID); @RegEx
  static final String REGEX_PART; static final char ID_SEPARATOR; }