gt:     if(getValue(OWNER) == null || getValue(OWNER).trim().equals(""))
context: /**
   * Copyright (c) 2015 TerraFrame, Inc. All rights reserved.
   *
   * This file is part of Geoprism(tm).
   *
   * Geoprism(tm) is free software: you can redistribute it and/or modify
   * it under the terms of the GNU Lesser General Public License as
   * published by the Free Software Foundation, either version 3 of the
   * License, or (at your option) any later version.
   *
   * Geoprism(tm) is distributed in the hope that it will be useful, but
   * WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   * GNU Lesser General Public License for more details.
   *
   * You should have received a copy of the GNU Lesser General Public
   * License along with Geoprism(tm).  If not, see <http://www.gnu.org/licenses/>.
   */
  package net.geoprism.data.etl;
  
  @com.runwaysdk.business.ClassSignature(hash = -1633947733)
  public abstract class PersistenceStrategyDTOBase extends com.runwaysdk.business.BusinessDTO 
  {
    public final static String CLASS = "net.geoprism.data.etl.PersistenceStrategy";
    private static final long serialVersionUID = -1633947733;
    
    protected PersistenceStrategyDTOBase(com.runwaysdk.constants.ClientRequestIF clientRequest)
    {
      super(clientRequest);
    }
    
    /**
    * Copy Constructor: Duplicates the values and attributes of the given BusinessDTO into a new DTO.
    * 
    * @param businessDTO The BusinessDTO to duplicate
    * @param clientRequest The clientRequest this DTO should use to communicate with the server.
    */
    protected PersistenceStrategyDTOBase(com.runwaysdk.business.BusinessDTO businessDTO, com.runwaysdk.constants.ClientRequestIF clientRequest)
    {
      super(businessDTO, clientRequest);
    }
    
    protected java.lang.String getDeclaredType()
    {
      return CLASS;
    }
    
    public static java.lang.String CREATEDATE = "createDate";
    public static java.lang.String CREATEDBY = "createdBy";
    public static java.lang.String ENTITYDOMAIN = "entityDomain";
    public static java.lang.String OID = "oid";
    public static java.lang.String KEYNAME = "keyName";
    public static java.lang.String LASTUPDATEDATE = "lastUpdateDate";
    public static java.lang.String LASTUPDATEDBY = "lastUpdatedBy";
    public static java.lang.String LOCKEDBY = "lockedBy";
    public static java.lang.String OWNER = "owner";
    public static java.lang.String SEQ = "seq";
    public static java.lang.String SITEMASTER = "siteMaster";
    public static java.lang.String TYPE = "type";
    public java.util.Date getCreateDate()
    {
      return com.runwaysdk.constants.MdAttributeDateTimeUtil.getTypeSafeValue(getValue(CREATEDATE));
    }
    
    public boolean isCreateDateWritable()
    {
      return isWritable(CREATEDATE);
    }
    
    public boolean isCreateDateReadable()
    {
      return isReadable(CREATEDATE);
    }
    
    public boolean isCreateDateModified()
    {
      return isModified(CREATEDATE);
    }
    
    public final com.runwaysdk.transport.metadata.AttributeDateTimeMdDTO getCreateDateMd()
    {
      return (com.runwaysdk.transport.metadata.AttributeDateTimeMdDTO) getAttributeDTO(CREATEDATE).getAttributeMdDTO();
    }
    
    public com.runwaysdk.system.SingleActorDTO getCreatedBy()
    {
      if(getValue(CREATEDBY) == null || getValue(CREATEDBY).trim().equals(""))
      {
        return null;
      }
      else
      {
        return com.runwaysdk.system.SingleActorDTO.get(getRequest(), getValue(CREATEDBY));
      }
    }
    
    public String getCreatedById()
    {
      return getValue(CREATEDBY);
    }
    
    public boolean isCreatedByWritable()
    {
      return isWritable(CREATEDBY);
    }
    
    public boolean isCreatedByReadable()
    {
      return isReadable(CREATEDBY);
    }
    
    public boolean isCreatedByModified()
    {
      return isModified(CREATEDBY);
    }
    
    public final com.runwaysdk.transport.metadata.AttributeReferenceMdDTO getCreatedByMd()
    {
      return (com.runwaysdk.transport.metadata.AttributeReferenceMdDTO) getAttributeDTO(CREATEDBY).getAttributeMdDTO();
    }
    
    public com.runwaysdk.system.metadata.MdDomainDTO getEntityDomain()
    {
      if(getValue(ENTITYDOMAIN) == null || getValue(ENTITYDOMAIN).trim().equals(""))
      {
        return null;
      }
      else
      {
        return com.runwaysdk.system.metadata.MdDomainDTO.get(getRequest(), getValue(ENTITYDOMAIN));
      }
    }
    
    public String getEntityDomainId()
    {
      return getValue(ENTITYDOMAIN);
    }
    
    public void setEntityDomain(com.runwaysdk.system.metadata.MdDomainDTO value)
    {
      if(value == null)
      {
        setValue(ENTITYDOMAIN, "");
      }
      else
      {
        setValue(ENTITYDOMAIN, value.getOid());
      }
    }
    
    public boolean isEntityDomainWritable()
    {
      return isWritable(ENTITYDOMAIN);
    }
    
    public boolean isEntityDomainReadable()
    {
      return isReadable(ENTITYDOMAIN);
    }
    
    public boolean isEntityDomainModified()
    {
      return isModified(ENTITYDOMAIN);
    }
    
    public final com.runwaysdk.transport.metadata.AttributeReferenceMdDTO getEntityDomainMd()
    {
      return (com.runwaysdk.transport.metadata.AttributeReferenceMdDTO) getAttributeDTO(ENTITYDOMAIN).getAttributeMdDTO();
    }
    
    public String getKeyName()
    {
      return getValue(KEYNAME);
    }
    
    public void setKeyName(String value)
    {
      if(value == null)
      {
        setValue(KEYNAME, "");
      }
      else
      {
        setValue(KEYNAME, value);
      }
    }
    
    public boolean isKeyNameWritable()
    {
      return isWritable(KEYNAME);
    }
    
    public boolean isKeyNameReadable()
    {
      return isReadable(KEYNAME);
    }
    
    public boolean isKeyNameModified()
    {
      return isModified(KEYNAME);
    }
    
    public final com.runwaysdk.transport.metadata.AttributeCharacterMdDTO getKeyNameMd()
    {
      return (com.runwaysdk.transport.metadata.AttributeCharacterMdDTO) getAttributeDTO(KEYNAME).getAttributeMdDTO();
    }
    
    public java.util.Date getLastUpdateDate()
    {
      return com.runwaysdk.constants.MdAttributeDateTimeUtil.getTypeSafeValue(getValue(LASTUPDATEDATE));
    }
    
    public boolean isLastUpdateDateWritable()
    {
      return isWritable(LASTUPDATEDATE);
    }
    
    public boolean isLastUpdateDateReadable()
    {
      return isReadable(LASTUPDATEDATE);
    }
    
    public boolean isLastUpdateDateModified()
    {
      return isModified(LASTUPDATEDATE);
    }
    
    public final com.runwaysdk.transport.metadata.AttributeDateTimeMdDTO getLastUpdateDateMd()
    {
      return (com.runwaysdk.transport.metadata.AttributeDateTimeMdDTO) getAttributeDTO(LASTUPDATEDATE).getAttributeMdDTO();
    }
    
    public com.runwaysdk.system.SingleActorDTO getLastUpdatedBy()
    {
      if(getValue(LASTUPDATEDBY) == null || getValue(LASTUPDATEDBY).trim().equals(""))
      {
        return null;
      }
      else
      {
        return com.runwaysdk.system.SingleActorDTO.get(getRequest(), getValue(LASTUPDATEDBY));
      }
    }
    
    public String getLastUpdatedById()
    {
      return getValue(LASTUPDATEDBY);
    }
    
    public boolean isLastUpdatedByWritable()
    {
      return isWritable(LASTUPDATEDBY);
    }
    
    public boolean isLastUpdatedByReadable()
    {
      return isReadable(LASTUPDATEDBY);
    }
    
    public boolean isLastUpdatedByModified()
    {
      return isModified(LASTUPDATEDBY);
    }
    
    public final com.runwaysdk.transport.metadata.AttributeReferenceMdDTO getLastUpdatedByMd()
    {
      return (com.runwaysdk.transport.metadata.AttributeReferenceMdDTO) getAttributeDTO(LASTUPDATEDBY).getAttributeMdDTO();
    }
    
    public com.runwaysdk.system.SingleActorDTO getLockedBy()
    {
      if(getValue(LOCKEDBY) == null || getValue(LOCKEDBY).trim().equals(""))
      {
        return null;
      }
      else
      {
        return com.runwaysdk.system.SingleActorDTO.get(getRequest(), getValue(LOCKEDBY));
      }
    }
    
    public String getLockedById()
    {
      return getValue(LOCKEDBY);
    }
    
    public boolean isLockedByWritable()
    {
      return isWritable(LOCKEDBY);
    }
    
    public boolean isLockedByReadable()
    {
      return isReadable(LOCKEDBY);
    }
    
    public boolean isLockedByModified()
    {
      return isModified(LOCKEDBY);
    }
    
    public final com.runwaysdk.transport.metadata.AttributeReferenceMdDTO getLockedByMd()
    {
      return (com.runwaysdk.transport.metadata.AttributeReferenceMdDTO) getAttributeDTO(LOCKEDBY).getAttributeMdDTO();
    }
    
    public com.runwaysdk.system.ActorDTO getOwner()
    {
  