Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package org.sdmlib.storyboards.util;
  
  
  public class KanbanEntryPO extends PatternObject<KanbanEntryPOKanbanEntry>
  {
    public KanbanEntryPO(){
       newInstance(CreatorCreator.createIdMap("PatternObjectType"));
    }
 
    public KanbanEntryPO(KanbanEntry... hostGraphObject) {
       if(hostGraphObject==null || hostGraphObject.length<1){
          return ;
       }
       newInstance(CreatorCreator.createIdMap("PatternObjectType"), hostGraphObject);
   }
    {
       LogEntryStoryBoardPO result = new LogEntryStoryBoardPO(new LogEntryStoryBoard[]{});
       
       result.setModifier(this.getPattern().getModifier());
       super.hasLink(.result);
       
       return result;
    }
    
    {
    }
    
    {
       if (this.getPattern().getHasMatch())
       {
       }
       return this;
    }
    
    {
       if (this.getPattern().getHasMatch())
       {
       }
       return this;
    }
    
    {
       if (this.getPattern().getHasMatch())
       {
          return ((KanbanEntrythis.getCurrentMatch()).getLogEntries();
       }
       return null;
    }
    
    public KanbanEntryPO hasOldNoOfLogEntries(int value)
    {
       new AttributeConstraint()
       .withTgtValue(value)
       .withSrc(this)
       .withModifier(this.getPattern().getModifier())
       .withPattern(this.getPattern());
       
       this.getPattern().findMatch();
       
       return this;
    }
    
    public int getOldNoOfLogEntries()
    {
       if (this.getPattern().getHasMatch())
       {
          return ((KanbanEntrygetCurrentMatch()).getOldNoOfLogEntries();
       }
       return 0;
    }
    
    public KanbanEntryPO withOldNoOfLogEntries(int value)
    {
       if (this.getPattern().getHasMatch())
       {
          ((KanbanEntrygetCurrentMatch()).setOldNoOfLogEntries(value);
       }
       return this;
    }
    public KanbanEntryPO hasOldNoOfLogEntries(int lowerint upper)
    {
       new AttributeConstraint()
       .withTgtValue(lower)
       .withUpperTgtValue(upper)
       .withSrc(this)
      .withModifier(this.getPattern().getModifier())
      .withPattern(this.getPattern());
      
      this.getPattern().findMatch();
      
      return this;
   }
   
   public KanbanEntryPO hasPhases(String value)
   {
      new AttributeConstraint()
      .withTgtValue(value)
      .withSrc(this)
      .withModifier(this.getPattern().getModifier())
      .withPattern(this.getPattern());
      
      this.getPattern().findMatch();
      
      return this;
   }
   
   public KanbanEntryPO hasPhases(String lowerString upper)
   {
      new AttributeConstraint()
      .withTgtValue(lower)
      .withUpperTgtValue(upper)
      .withSrc(this)
      .withModifier(this.getPattern().getModifier())
      .withPattern(this.getPattern());
      
      this.getPattern().findMatch();
      
      return this;
   }
   
   public String getPhases()
   {
      if (this.getPattern().getHasMatch())
      {
         return ((KanbanEntrygetCurrentMatch()).getPhases();
      }
      return null;
   }
   
   public KanbanEntryPO withPhases(String value)
   {
      if (this.getPattern().getHasMatch())
      {
         ((KanbanEntrygetCurrentMatch()).setPhases(value);
      }
      return this;
   }
   
   public KanbanEntryPO createOldNoOfLogEntries(int value)
   {
      this.startCreate().hasOldNoOfLogEntries(value).endCreate();
      return this;
   }
   
   public KanbanEntryPO createPhases(String value)
   {
      this.startCreate().hasPhases(value).endCreate();
      return this;
   }
   
   {
      return this.startCreate().hasLogEntries().endCreate();
   }
   {
      return this.startCreate().hasLogEntries(tgt).endCreate();
   }
New to GrepCode? Check out our FAQ X