krysalis-version/src/java/org/krysalis/version/ant/nested VersionNestedElement.java,1.8,1.9

[email protected]
Newsgroups gmane.comp.krysalis.sandbox
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/krysalis-version/src/java/org/krysalis/version/ant/nested
In directory sc8-pr-cvs1:/tmp/cvs-serv14459/src/java/org/krysalis/version/ant/nested

Modified Files:
	VersionNestedElement.java 
Log Message:
Changes/fixes and such (for Ruper)

Index: VersionNestedElement.java
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-version/src/java/org/krysalis/version/ant/nested/VersionNestedElement.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** VersionNestedElement.java	10 Mar 2003 20:44:17 -0000	1.8
--- VersionNestedElement.java	13 Mar 2003 19:33:20 -0000	1.9
***************
*** 82,89 ****
  
      private String m_releaseLevel = null;
      private int m_major = VersionDataElement.UNSET_MAJOR;
!     private int m_minor = VersionDataElement.UNSET_MAJOR;
!     private int m_point = VersionDataElement.UNSET_MAJOR;
!     private int m_buildNumber = VersionDataElement.UNSET_MAJOR;
  
      private String m_version = null;
--- 82,90 ----
  
      private String m_releaseLevel = null;
+     private int m_releaseQualifier = VersionDataElement.UNSET_RELEASE_QUALIFIER;
      private int m_major = VersionDataElement.UNSET_MAJOR;
!     private int m_minor = VersionDataElement.UNSET_MINOR;
!     private int m_point = VersionDataElement.UNSET_POINT;
!     private int m_buildNumber = VersionDataElement.UNSET_BUILD_NUMBER;
  
      private String m_version = null;
***************
*** 119,124 ****
          return cv;
      }
!     
! //:TODO: If no version info, but version id -- then load it?
  
      public Version getVersionObject() {
--- 120,125 ----
          return cv;
      }
! 
!     //:TODO: If no version info, but version id -- then load it?
  
      public Version getVersionObject() {
***************
*** 144,148 ****
  
              if (null != m_specificationBean) {
!                 VersionSpecification specification = m_specificationBean.getVersionSpecificationObject();
  
                  if (null != m_version)
--- 145,150 ----
  
              if (null != m_specificationBean) {
!                 VersionSpecification specification =
!                     m_specificationBean.getVersionSpecificationObject();
  
                  if (null != m_version)
***************
*** 161,164 ****
--- 163,167 ----
                              m_minor,
                              m_releaseLevel,
+                             m_releaseQualifier,
                              m_point,
                              m_buildNumber,
***************
*** 239,242 ****
--- 242,253 ----
  
      /**
+      * Sets the releaseQualifier.
+      * @param releaseQualifier The releaseQualifier to set
+      */
+     public void setReleaseQualifier(int releaseQualifier) {
+         m_releaseQualifier = releaseQualifier;
+     }
+ 
+     /**
       * Sets the level.
       * @param level The level to set
***************
*** 246,254 ****
      }
  
!     public boolean isVersionSet()
!     {
          return null != m_version;
      }
!     
      /**
       * Set the entire string.  This overides other settings.
--- 257,264 ----
      }
  
!     public boolean isVersionSet() {
          return null != m_version;
      }
! 
      /**
       * Set the entire string.  This overides other settings.
***************
*** 261,265 ****
  
      public VersionSpecificationNestedElement createSpecification() {
!         m_specificationBean = new VersionSpecificationNestedElement(m_ant.getTask());
          return m_specificationBean;
      }
--- 271,276 ----
  
      public VersionSpecificationNestedElement createSpecification() {
!         m_specificationBean =
!             new VersionSpecificationNestedElement(m_ant.getTask());
          return m_specificationBean;
      }
***************
*** 331,339 ****
      }
  
!     public boolean isVersionIdSet()
!     {
          return null != m_versionId;
      }
!     
      /**
       * Returns the versionId.
--- 342,349 ----
      }
  
!     public boolean isVersionIdSet() {
          return null != m_versionId;
      }
! 
      /**
       * Returns the versionId.




-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.