All Downloads are FREE. Search and download functionalities are using the official Maven repository.

-test-ocl.1.1.0.RC2.source-code.test-ocl.uml Maven / Gradle / Ivy

There is a newer version: 1.2.5
Show newest version


  
    
      
    
    
      
    
    
      
    
    
      
    
    
      
    
    
      
        
          
            
              
                OCL
                not self.oclTestCollection->includes(self.oclTestCollection->any(name = 'X'))
              
            
            
              
            
            
              
              
                ocl
                self.property1
              
            
            
              
              
            
            
              
              
                ocl
                self.oclTestCollection->select(name='john')
              
            
            
              
                ocl
                self.oclTestCollection->any(name <> 'john')
              
            
            
              
              
              
              
                ocl
                self.oclTestCollection.name->asSet()
              
            
            
              
              
              
                ocl
                self.oclTestCollection.oclTestCollection2->asSet()
              
            
            
              
              
              
              
                ocl
                self.oclTestCollection.oclTestCollection2.name
              
            
            
              
              
              
                ocl
                self.oclTestCollection->collectNested(oclTestCollection2)->flatten()
              
            
            
              
              
              
              
                ocl
                self.oclTestCollection->select(name='john')->collect(oclTestCollection2)->collect(name)->asSequence()
              
            
            
              
              
                ocl
                self.oclTestCollection->iterate(iter : OclTestCollection; acc : String = '' | acc.concat(iter.name) )
              
            
            
              
              
              
                ocl
                self.oclTestCollection->iterate(iter : OclTestCollection; acc : OrderedSet(OclTestCollection2) = OrderedSet{} | acc->including(iter.oclTestCollection2->any(name='john'))->asOrderedSet())
              
            
            
              
              
              
              
                ocl
                self.oclTestCollection.name->asSequence()->first()
              
            
            
              
              
              
                ocl
                self.oclTestCollection.name->asSequence()->first().oclIsInvalid()
              
            
            
              
              
                ocl
                self.oclTestCollection->any(name='joe').oclIsUndefined()
              
            
            
              
              
                ocl
                if self.oclTestCollection->isEmpty() then 'halo' else 'bye' endif
              
            
            
              
              
              
                ocl
                if self.oclTestCollection->isEmpty() then Sequence{} else self.oclTestCollection->asSequence() endif
              
            
            
              
              
              
            
            
              
              
              
              
                OCL
                self.testNumber > 1
              
            
            
              
              
              
              
                OCL
                self.testNumber >= 1
              
            
            
              
              
              
              
                OCL
                self.testNumber < 1
              
            
            
              
              
              
              
                OCL
                self.testNumber <= 1
              
            
          
          
            
              
            
            
              
              
            
            
              
                ocl
                self.oclTest2
              
            
          
          
            
              
              
            
          
          
            
              
            
          
          
            
              
              
            
          
          
            
              
            
            
              
              
            
            
              
            
          
          
            
              
              
            
          
        
        
          
            
              
              
              
            
            
              
              
              
                
              
              
                
              
            
            
              
              
            
            
              
                ocl
                self.customer['john',1]
              
            
            
              
              
                ocl
                self.employee->size()
              
            
            
              
              
              
              
                OCL
                self.employee.name->asSet()
              
            
          
          
            
              
              
              
            
            
              
              
              
            
            
              
                ocl
                self.bank.employee->asSequence()->first()
              
            
            
              
              
            
          
          
            
              
              
            
          
          
            
              
            
          
          
            
              
              
            
          
          
            
              
            
            
              
              
            
          
          
            
              
            
          
          
            
              
              
            
          
          
            
              
              
            
          
          
            
              
              
              
                
              
            
            
              
              
              
              
                
              
            
            
              
              
              
                OCL
                self.b['john'].c->select(c | c.d['joe'].oclIsInvalid())
              
            
          
          
            
              
              
              
                
              
            
            
              
              
              
              
                
              
            
          
          
            
              
              
              
                
              
            
            
              
              
              
              
                
              
            
          
          
            
              
              
              
              
                
              
            
          
          
            
              
              
            
          
          
            
              
              
            
          
          
            
              
              
            
          
        
        
          
            
              
              
              
            
            
              
              
            
          
          
            
              
            
            
              
              
              
                OCL
                self.one
              
            
          
          
            
              
              
            
          
        
        
          
            
              
              
              
              
                
              
            
            
              
              
            
            
              
              
              
                OCL
                self.friendship[knows]
              
            
            
              
              
              
                OCL
                self.friendship[knownBy]
              
            
            
              
              
            
          
          
            
              
              
            
            
              
              
              
              
                
              
            
            
              
              
              
                OCL
                self.job
              
            
          
          
            
              
              
              
            
            
              
              
            
          
          
            
              
              
              
              
            
          
        
        
          
            
              
              
              
            
            
              
              
            
            
              
              
              
              
                OCL
                self.eNUMX.toString()
              
            
          
          
            
            
          
          
            
              
              
            
          
        
      
    
    
      
        
      
      
    
    
      
        
      
      
    
    
      
        
      
      
    
  
  
  
  
  
  





© 2015 - 2025 Weber Informatics LLC | Privacy Policy