X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=yang%2Fyang-model-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fmodel%2Frepo%2Fapi%2FSourceIdentifier.java;h=40c0751167568302296bd2b2e459c7fb01b26f74;hb=3528dca5dec207aea587b846c2126a6b9bfecaf6;hp=8692bedfe04413c44500c2848c6f15d9e8e271ad;hpb=4fe39dd37465c2bb87f920317849ca5eb044fc3d;p=yangtools.git diff --git a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/repo/api/SourceIdentifier.java b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/repo/api/SourceIdentifier.java index 8692bedfe0..40c0751167 100644 --- a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/repo/api/SourceIdentifier.java +++ b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/repo/api/SourceIdentifier.java @@ -23,9 +23,11 @@ import org.opendaylight.yangtools.yang.common.YangConstants; /** * Base class of YANG Schema source identifiers. * + *

* Source identifiers are designated to be carry only necessary information to * look-up YANG model source and to be used by various SchemaSourceProviders. * + *

* (For further reference see: http://tools.ietf.org/html/rfc6020#section-5.2 * and http://tools.ietf.org/html/rfc6022#section-3.1 ). */ @@ -43,9 +45,9 @@ public abstract class SourceIdentifier implements Identifier, Immutable { /** * Simplified compiled revision pattern in format YYYY-mm-dd, which checks * only distribution of number elements. + * *

- * For checking if supplied string is real date, use - * {@link SimpleDateFormatUtil} instead. + * For checking if supplied string is real date, use {@link SimpleDateFormatUtil} instead. */ public static final Pattern REVISION_PATTERN = Pattern.compile(REVISION_PATTERN_STR); @@ -56,7 +58,6 @@ public abstract class SourceIdentifier implements Identifier, Immutable { private final String name; /** - * * Creates new YANG Schema source identifier for sources without revision. * * @param name @@ -104,7 +105,7 @@ public abstract class SourceIdentifier implements Identifier, Immutable { } /** - * Returns model name + * Returns model name. * * @return model name */ @@ -123,7 +124,6 @@ public abstract class SourceIdentifier implements Identifier, Immutable { } /** - *

* Since we've got two ways of model versioning (revision & semantic version), * this method shouldn't be called directly anymore. Eventually, callers of this method * should be notified before method gets deleted. @@ -132,8 +132,7 @@ public abstract class SourceIdentifier implements Identifier, Immutable { *

  • {@link SemVerSourceIdentifier#create(String, SemVer)}
  • *
  • {@link SemVerSourceIdentifier#create(String, Optional, SemVer)}
  • *
  • {@link SemVerSourceIdentifier#create(String, String, SemVer)}
  • - * - * or + * or *