Class BaseSourceDescriptor

java.lang.Object
io.github.mmm.code.base.source.BaseSourceDescriptor
All Implemented Interfaces:
io.github.mmm.code.api.source.CodeSourceDescriptor
Direct Known Subclasses:
BaseSourceDescriptorBean, BaseSourceDescriptorType

public abstract class BaseSourceDescriptor extends Object implements io.github.mmm.code.api.source.CodeSourceDescriptor
Base implementation of CodeSourceDescriptor.
Since:
1.0.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)
  • Field Summary

    Fields inherited from interface io.github.mmm.code.api.source.CodeSourceDescriptor

    VERSION_UNDEFINED
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
     
    final boolean
     
    final int
     
    final String
     

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface io.github.mmm.code.api.source.CodeSourceDescriptor

    getArtifactId, getDocUrl, getGroupId, getId, getScope, getVersion
  • Constructor Details

    • BaseSourceDescriptor

      public BaseSourceDescriptor()
  • Method Details

    • createId

      protected String createId()
      Returns:
      the ID composed as "«groupId»:«artifactId»:«version»".
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public final String toString()
      Overrides:
      toString in class Object