Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package org.sdmlib.storyboards.util;
  
  
  
  public class LogEntryStoryBoardCreator extends EntityFactory
 {
    private final String[] properties = new String[]
    {
          .,
    };
    
    @Override
    public String[] getProperties()
    {
       return ;
    }
    
    @Override
    public Object getSendableInstance(boolean reference)
    {
       return new LogEntryStoryBoard();
    }
    
    @Override
    public Object getValue(Object targetString attrName)
    {
       int pos=attrName.indexOf(".");
       String attribute = attrName;
 
       if(pos>0)
       {
          attribute=attrName.substring(0, pos);
       }
 
       if (..equalsIgnoreCase(attribute)) 
       {
          return ((LogEntryStoryBoard)target).getDate();
       }
       {
          return ((LogEntryStoryBoard)target).getKanbanEntry();
       }
       {
          return ((LogEntryStoryBoard)target).getHoursSpend();
       }
       {
          return ((LogEntryStoryBoard)target).getHoursRemainingInTotal();
       }
       {
          return ((LogEntryStoryBoard)target).getKanbanEntry();
       }  
       {
          return ((LogEntryStoryBoard)target).getDeveloper();
       }
       if (..equalsIgnoreCase(attribute)) 
       {
          return ((LogEntryStoryBoard)target).getPhase();
       }
       if (..equalsIgnoreCase(attribute)) 
       {
          return ((LogEntryStoryBoard)target).getComment();
       }
       return super.getValue(targetattrName);
    }
    
    @Override
    public boolean setValue(Object targetString attrNameObject valueString type)
    {
       if (..equals(type) && value != null)
       {
          attrName = attrName + type;
       }
       
       if (..equalsIgnoreCase(attrName)) 
       {
          ((LogEntryStoryBoard)target).setDate((Stringvalue);
          return true;
       }
 
       {
          ((LogEntryStoryBoard)target).setKanbanEntry((KanbanEntryvalue);
          return true;
       }
      {
         ((LogEntryStoryBoard)target).setHoursSpend(Double.parseDouble(value.toString()));
         return true;
      }
      {
         ((LogEntryStoryBoard)target).setHoursRemainingInTotal(Double.parseDouble(value.toString()));
         return true;
      }
      {
         ((LogEntryStoryBoard)target).setKanbanEntry((KanbanEntryvalue);
         return true;
      }
      {
         ((LogEntryStoryBoard)target).setDeveloper((Stringvalue);
         return true;
      }
      {
         ((LogEntryStoryBoard)target).setPhase((Stringvalue);
         return true;
      }
      {
         ((LogEntryStoryBoard)target).setComment((Stringvalue);
         return true;
      }
      return super.setValue(targetattrNamevaluetype);
   }
   
   public static JsonIdMap createIdMap(String sessionID)
   {
      return CreatorCreator.createIdMap(sessionID);
   }
   
   //==========================================================================
   
   public void removeObject(Object entity)
   {
      ((LogEntryStoryBoardentity).removeYou();
   }
New to GrepCode? Check out our FAQ X