Package org.jboss.metadata.spi.retrieval

Examples of org.jboss.metadata.spi.retrieval.ValidTime


/* 119 */     return this.scopeKey;
/*     */   }
/*     */
/*     */   public ValidTime getValidTime()
/*     */   {
/* 124 */     ValidTime result = null;
/* 125 */     long resultLong = -9223372036854775808L;
/*     */
/* 127 */     if (this.parent != null)
/*     */     {
/* 129 */       result = this.parent.getValidTime();
/* 130 */       resultLong = result.getValidTime();
/*     */     }
/*     */
/* 133 */     for (MetaDataRetrieval retrieval : this.retrievals)
/*     */     {
/* 135 */       ValidTime temp = retrieval.getValidTime();
/* 136 */       long tempLong = temp.getValidTime();
/* 137 */       if ((tempLong > resultLong) || (result == null))
/*     */       {
/* 139 */         result = temp;
/* 140 */         resultLong = tempLong;
/*     */       }
View Full Code Here


      return scopeKey;
   }

   public ValidTime getValidTime()
   {
      ValidTime result = null;
      long resultLong = Long.MIN_VALUE;

      if (parent != null)
      {
         result = parent.getValidTime();
         resultLong = result.getValidTime();
      }
     
      for (int i = 0; i < retrievals.size(); ++i)
      {
         MetaDataRetrieval retrieval = retrievals.get(i);
         ValidTime temp = retrieval.getValidTime();
         long tempLong = temp.getValidTime();
         if (tempLong > resultLong || result == null)
         {
            result = temp;
            resultLong = tempLong;
         }
View Full Code Here

TOP

Related Classes of org.jboss.metadata.spi.retrieval.ValidTime

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.