Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package org.sdmlib.replication.util;
  
 import  org.sdmlib.replication.util.SeppelSpaceProxyPO;
 
 {
 
     public SeppelSpaceProxySet allMatches()
    {
       this.setDoAllMatches(true);
       
       SeppelSpaceProxySet matches = new SeppelSpaceProxySet();
 
       while (this.getPattern().getHasMatch())
       {
          matches.add((SeppelSpaceProxythis.getCurrentMatch());
          
          this.getPattern().findMatch();
       }
       
       return matches;
    }
 
 
    public SeppelSpaceProxyPO(){
       newInstance(org.sdmlib.replication.util.CreatorCreator.createIdMap("PatternObjectType"));
    }
 
    public SeppelSpaceProxyPO(SeppelSpaceProxy... hostGraphObject) {
       if(hostGraphObject==null || hostGraphObject.length<1){
          return ;
       }
       newInstance(org.sdmlib.replication.util.CreatorCreator.createIdMap("PatternObjectType"), hostGraphObject);
    }
    public SeppelSpaceProxyPO hasSpaceId(String value)
    {
       new AttributeConstraint()
       .withTgtValue(value)
       .withSrc(this)
       .withModifier(this.getPattern().getModifier())
       .withPattern(this.getPattern());
       
       this.getPattern().findMatch();
       
       return this;
    }
    
    public SeppelSpaceProxyPO hasSpaceId(String lowerString upper)
    {
       new AttributeConstraint()
       .withTgtValue(lower)
       .withUpperTgtValue(upper)
       .withSrc(this)
       .withModifier(this.getPattern().getModifier())
       .withPattern(this.getPattern());
       
       this.getPattern().findMatch();
       
       return this;
    }
    
    public SeppelSpaceProxyPO createSpaceId(String value)
    {
       this.startCreate().hasSpaceId(value).endCreate();
       return this;
    }
    
    public String getSpaceId()
    {
       if (this.getPattern().getHasMatch())
       {
          return ((SeppelSpaceProxygetCurrentMatch()).getSpaceId();
       }
       return null;
    }
    
    public SeppelSpaceProxyPO withSpaceId(String value)
    {
       if (this.getPattern().getHasMatch())
       {
          ((SeppelSpaceProxygetCurrentMatch()).setSpaceId(value);
       }
       return this;
    }
    
    public SeppelSpaceProxyPO hasAcceptsConnectionRequests(boolean value)
    {
       new AttributeConstraint()
      .withTgtValue(value)
      .withSrc(this)
      .withModifier(this.getPattern().getModifier())
      .withPattern(this.getPattern());
      
      this.getPattern().findMatch();
      
      return this;
   }
   
   {
      return this;
   }
   
   public boolean getAcceptsConnectionRequests()
   {
      if (this.getPattern().getHasMatch())
      {
      }
      return false;
   }
   
   {
      if (this.getPattern().getHasMatch())
      {
      }
      return this;
   }
   
   {
      new AttributeConstraint()
      .withTgtValue(value)
      .withSrc(this)
      .withModifier(this.getPattern().getModifier())
      .withPattern(this.getPattern());
      
      this.getPattern().findMatch();
      
      return this;
   }
   
   public SeppelSpaceProxyPO hasHostName(String lowerString upper)
   {
      new AttributeConstraint()
      .withTgtValue(lower)
      .withUpperTgtValue(upper)
      .withSrc(this)
      .withModifier(this.getPattern().getModifier())
      .withPattern(this.getPattern());
      
      this.getPattern().findMatch();
      
      return this;
   }
   
   {
      this.startCreate().hasHostName(value).endCreate();
      return this;
   }
   
   public String getHostName()
   {
      if (this.getPattern().getHasMatch())
      {
         return ((SeppelSpaceProxygetCurrentMatch()).getHostName();
      }
      return null;
   }
   
   {
      if (this.getPattern().getHasMatch())
      {
         ((SeppelSpaceProxygetCurrentMatch()).setHostName(value);
      }
      return this;
   }
   
   public SeppelSpaceProxyPO hasPortNo(int value)
   {
      new AttributeConstraint()
      .withTgtValue(value)
      .withSrc(this)
      .withModifier(this.getPattern().getModifier())
      .withPattern(this.getPattern());
      
      this.getPattern().findMatch();
      
      return this;
   }
   
   public SeppelSpaceProxyPO hasPortNo(int lowerint upper)
   {
      new AttributeConstraint()
      .withTgtValue(lower)
      .withUpperTgtValue(upper)
      .withSrc(this)
      .withModifier(this.getPattern().getModifier())
      .withPattern(this.getPattern());
      
      this.getPattern().findMatch();
      
      return this;
   }
   
   public SeppelSpaceProxyPO createPortNo(int value)
   {
      this.startCreate().hasPortNo(value).endCreate();
      return this;
   }
   
   public int getPortNo()
   {
      if (this.getPattern().getHasMatch())
      {
         return ((SeppelSpaceProxygetCurrentMatch()).getPortNo();
      }
      return 0;
   }
   
   public SeppelSpaceProxyPO withPortNo(int value)
   {
      if (this.getPattern().getHasMatch())
      {
         ((SeppelSpaceProxygetCurrentMatch()).setPortNo(value);
      }
      return this;
   }
   
   {
      new AttributeConstraint()
      .withTgtValue(value)
      .withSrc(this)
      .withModifier(this.getPattern().getModifier())
      .withPattern(this.getPattern());
      
      this.getPattern().findMatch();
      
      return this;
   }
   
   public SeppelSpaceProxyPO hasLoginName(String lowerString upper)
   {
      new AttributeConstraint()
      .withTgtValue(lower)
      .withUpperTgtValue(upper)
      .withSrc(this)
      .withModifier(this.getPattern().getModifier())
      .withPattern(this.getPattern());
      
      this.getPattern().findMatch();
      
      return this;
   }
   
   {
      this.startCreate().hasLoginName(value).endCreate();
      return this;
   }
   
   public String getLoginName()
   {
      if (this.getPattern().getHasMatch())
      {
         return ((SeppelSpaceProxygetCurrentMatch()).getLoginName();
      }
      return null;
   }
   
   {
      if (this.getPattern().getHasMatch())
      {
         ((SeppelSpaceProxygetCurrentMatch()).setLoginName(value);
      }
      return this;
   }
   
   {
      new AttributeConstraint()
      .withTgtValue(value)
      .withSrc(this)
      .withModifier(this.getPattern().getModifier())
      .withPattern(this.getPattern());
      
      this.getPattern().findMatch();
      
      return this;
   }
   
   public SeppelSpaceProxyPO hasPassword(String lowerString upper)
   {
      new AttributeConstraint()
      .withTgtValue(lower)
      .withUpperTgtValue(upper)
      .withSrc(this)
      .withModifier(this.getPattern().getModifier())
      .withPattern(this.getPattern());
      
      this.getPattern().findMatch();
      
      return this;
   }
   
   {
      this.startCreate().hasPassword(value).endCreate();
      return this;
   }
   
   public String getPassword()
   {
      if (this.getPattern().getHasMatch())
      {
         return ((SeppelSpaceProxygetCurrentMatch()).getPassword();
      }
      return null;
   }
   
   {
      if (this.getPattern().getHasMatch())
      {
         ((SeppelSpaceProxygetCurrentMatch()).setPassword(value);
      }
      return this;
   }
   
   {
      SeppelSpaceProxyPO result = new SeppelSpaceProxyPO(new SeppelSpaceProxy[]{});
      
      result.setModifier(this.getPattern().getModifier());
      super.hasLink(.result);
      
      return result;
   }
   {
      return this.startCreate().hasPartners().endCreate();
   }
   {
   }
   {
      return this.startCreate().hasPartners(tgt).endCreate();
   }
   {
      if (this.getPattern().getHasMatch())
      {
         return ((SeppelSpaceProxythis.getCurrentMatch()).getPartners();
      }
      return null;
   }
   public SeppelScopePO hasScopes()
   {
      SeppelScopePO result = new SeppelScopePO(new SeppelScope[]{});
      
      result.setModifier(this.getPattern().getModifier());
      super.hasLink(.result);
      
      return result;
   }
   {
      return this.startCreate().hasScopes().endCreate();
   }
   {
   }
   {
      return this.startCreate().hasScopes(tgt).endCreate();
   }
   public SeppelScopeSet getScopes()
   {
      if (this.getPattern().getHasMatch())
      {
         return ((SeppelSpaceProxythis.getCurrentMatch()).getScopes();
      }
      return null;
   }
   {
      SeppelChannelPO result = new SeppelChannelPO(new SeppelChannel[]{});
      
      result.setModifier(this.getPattern().getModifier());
      super.hasLink(.result);
      
      return result;
   }
   {
      return this.startCreate().hasChannel().endCreate();
   }
   {
   }
   {
      return this.startCreate().hasChannel(tgt).endCreate();
   }
   public SeppelChannel getChannel()
   {
      if (this.getPattern().getHasMatch())
      {
         return ((SeppelSpaceProxythis.getCurrentMatch()).getChannel();
      }
      return null;
   }
   public BoardTaskPO hasTasks()
   {
      BoardTaskPO result = new BoardTaskPO(new BoardTask[]{});
      
      result.setModifier(this.getPattern().getModifier());
      super.hasLink(.result);
      
      return result;
   }
   public BoardTaskPO createTasks()
   {
      return this.startCreate().hasTasks().endCreate();
   }
   {
   }
   {
      return this.startCreate().hasTasks(tgt).endCreate();
   }
   public BoardTaskSet getTasks()
   {
      if (this.getPattern().getHasMatch())
      {
         return ((SeppelSpaceProxythis.getCurrentMatch()).getTasks();
      }
      return null;
   }
New to GrepCode? Check out our FAQ X