Getter method for the instance variable {@link #parentId}.

@return value of instance variable {@link #parentId}
@throws EFapsException on error
543674
public MsgPhrase getParent()
        throws EFapsException
    {
        final MsgPhrase ret;
        if (hasParent()) {
            ret = MsgPhrase.get(getParentId());
        } else {
            ret = null;
        }
        return ret;
    }
160615
public CmsContainerBean getParentContainer() {

        CmsContainerBean result = null;
        if ((getContainer() != null) && (getContainer().getParentInstanceId() != null)) {
            result = m_parentContainers.get(getContainer().getParentInstanceId());
        }
        return result;
    }
888851
@Override
    public Object getValue(final Object _object)
        throws EFapsException
    {
        final Instance inst = (Instance) super.getValue(_object);
        if (this.esjp == null) {
            try {
                final Class<?> clazz = Class.forName(this.className, false, EFapsClassLoader.getInstance());
                this.esjp = (IEsjpSelect) clazz.newInstance();
                final List<Instance> instances = new ArrayList<>();
                for (final Object obj : getOneSelect().getObjectList()) {
                    instances.add((Instance) super.getValue(obj));
                }
                if (this.parameters.isEmpty()) {
                    this.esjp.initialize(instances);
                } else {
                    this.esjp.initialize(instances, this.parameters.toArray(new String[this.parameters.size()]));
                }
            } catch (final ClassNotFoundException | InstantiationException | IllegalAccessException e) {
                LOG.error("Catched error", e);
            }
        }
        return this.esjp.getValue(inst);
    }
607717
@SuppressWarnings("unchecked")
    public <T> T getAttribute(final String _attributeName)
        throws EFapsException
    {
        final OneSelect oneselect = this.attr2OneSelect.get(_attributeName);
        return oneselect == null ? null : (T) oneselect.getObject();
    }
1286402
public Attribute attribute(final String _alias)
        throws EFapsException
    {
        initialize(true);
        Attribute ret = null;
        final Optional<Select> selectOpt = this.selection.getSelects()
                        .stream()
                        .filter(select -> _alias.equals(select.getAlias()))
                        .findFirst();
        if (selectOpt.isPresent()) {
            ret = attribute(selectOpt.get());
        }
        return ret;
    }
116025
public static Status getStatus(final Instance _instance)
        throws EFapsException
    {
        Evaluation.LOG.debug("Retrieving Status for {}", _instance);
        long statusId = 0;
        if (_instance.getType().isCheckStatus()) {
            final Cache<String, Long> cache = AccessCache.getStatusCache();
            if (cache.containsKey(_instance.getKey())) {
                statusId = cache.get(_instance.getKey());
            } else {
                final PrintQuery print = new PrintQuery(_instance);
                print.addAttribute(_instance.getType().getStatusAttribute());
                print.executeWithoutAccessCheck();
                final Long statusIdTmp = print.getAttribute(_instance.getType().getStatusAttribute());
                statusId = statusIdTmp == null ? 0 : statusIdTmp;
                cache.put(_instance.getKey(), statusId);
            }
        }
        final Status ret = statusId > 0 ? Status.get(statusId) : null;
        Evaluation.LOG.debug("Retrieve Status: {}", ret);
        return ret;
    }
1185861
public String getParentId() {
        return mBodyMap.containsKey(BoxItem.FIELD_PARENT) ?
                ((BoxFolder) mBodyMap.get(BoxItem.FIELD_PARENT)).getId() :
                null;
    }
609720
public CmsAttributeValueView getParentView() {

        Widget ancestor = getParent();
        while ((ancestor != null) && !(ancestor instanceof CmsAttributeValueView)) {
            ancestor = ancestor.getParent();
        }
        return (CmsAttributeValueView)ancestor;
    }
1288598
protected function determineParentObj()
    {
        $parent = $this->parentIdentifier;
        $parentPage = SiteTree::get()->byID((int) $parent);
        if (!$parentPage) {
            $parentPage = SiteTree::get_by_link($parent);
        }
        if (!$parentPage) {
            $parentPage = SiteTree::get()->filter(array('Title' => trim($parent)))->first();
        }
        if (!$parentPage) {
            throw new Exception("Could not find a page with ID, URLSegment, or Title \"$parent\"");
        }
        if (!Injector::inst()->get($this->subjectClass)->hasField($this->parentField)) {
            throw new Exception("{$this->subjectClass} has no field {$this->parentField}.");
        }

        $this->parentObj = $parentPage;
        $this->log("Parent page is #{$parentPage->ID} {$parentPage->getTitle()}");
    }
1129969
public Attribute attribute(final int _idx)
        throws EFapsException
    {
        initialize(true);
        Attribute ret = null;
        final int idx = _idx - 1;
        if (this.selection.getSelects().size() > idx) {
            final Select select = this.selection.getSelects().get(idx);
            ret = attribute(select);
        }
        return ret;
    }
870637
@Override
    public String getParent () {
        String str = this.url.getAuthority();

        if ( str != null && !str.isEmpty() ) {
            StringBuffer sb = new StringBuffer("smb://");

            sb.append(str);

            String urlpath = getURLPath();
            if ( urlpath.length() > 1 ) {
                sb.append(urlpath);
            }
            else {

                sb.append('/');
            }

            str = sb.toString();

            int i = str.length() - 2;
            while ( str.charAt(i) != '/' ) {
                i--;
            }

            return str.substring(0, i + 1);
        }

        return "smb://";
    }
454371
public String getGetterMethodPackage() {
    Binding parentBinding = parentBindings.getBinding(key);
    if (parentBinding == null) {
      // The parent binding should exist by the time this is called.
      errorManager.logError("No parent binding found in %s for %s.", parentBindings, key);
      return "";
    } else {
      return parentBinding.getGetterMethodPackage();
    }
  }
1327483
public com.google.api.ads.adwords.axis.v201809.cm.ParentParentType getParentType() {
        return parentType;
    }
295271
@Override
  public PathImpl getParent()
  {
    if (_pathname.length() <= 1)
      return lookup("/");

    int length = _pathname.length();
    int lastSlash = _pathname.lastIndexOf('/');

    if (lastSlash < 1)
      return lookup("/");

    if (lastSlash == length - 1) {
      lastSlash = _pathname.lastIndexOf('/', length - 2);
      if (lastSlash < 1)
        return lookup("/");
    }

    return lookup(_pathname.substring(0, lastSlash));
  }
218732
public TaskEntity getParentTask() {
    if ( parentTask == null && parentTaskId != null) {
      this.parentTask = Context.getCommandContext()
                                .getTaskManager()
                                .findTaskById(parentTaskId);
    }
    return parentTask;
  }
1128588
public String getType()
    {
    IVarDef parent = getParent();
    return parent==null? type_ : parent.getType();
    }
549049
@Override
    public Object get(final Attribute _attribute,
                      final Object _object)
        throws EFapsException
    {
        Object ret = null;
        if (_object != null && _attribute.getAttributeType().getDbAttrType() instanceof IFormattableType) {
            final IFormattableType attrType = (IFormattableType) _attribute.getAttributeType().getDbAttrType();
            if (_object instanceof List<?>) {
                final List<?> objectList = (List<?>) _object;
                final List<Object> temp = new ArrayList<>();
                for (final Object object : objectList) {
                    temp.add(attrType.format(object, this.pattern));
                }
                ret = temp;
            } else {
                ret = attrType.format(_object, this.pattern);
            }
        }
        return ret;
    }