Package org.apache.maven.scm
Class AbstractScmVersion
- java.lang.Object
- 
- org.apache.maven.scm.AbstractScmVersion
 
- 
- All Implemented Interfaces:
- Serializable,- ScmVersion
 - Direct Known Subclasses:
- ScmBranch,- ScmRevision
 
 public abstract class AbstractScmVersion extends Object implements ScmVersion, Serializable - Author:
- Emmanuel Venisse
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description AbstractScmVersion(String name)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()voidsetName(String name)StringtoString()- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.apache.maven.scm.ScmVersiongetType
 
- 
 
- 
- 
- 
Constructor Detail- 
AbstractScmVersionpublic AbstractScmVersion(String name) - Parameters:
- name- could be null
 
 
- 
 - 
Method Detail- 
getNamepublic String getName() - Specified by:
- getNamein interface- ScmVersion
- Returns:
- the Version name
 
 - 
setNamepublic void setName(String name) - Specified by:
- setNamein interface- ScmVersion
- Parameters:
- name- new Version name could be null
 
 
- 
 
-