getter for casId - gets
@generated
428933
public String getCasId() {
    if (ProcessingStep_Type.featOkTst && ((ProcessingStep_Type)jcasType).casFeat_casId == null)
      jcasType.jcas.throwFeatMissing("casId", "edu.cmu.lti.oaqa.framework.types.ProcessingStep");
    return jcasType.ll_cas.ll_getStringValue(addr, ((ProcessingStep_Type)jcasType).casFeatCode_casId);}
184782
private function getSuitableIds(
        FixtureMatchReferenceValue $value,
        ResolvedFixtureSet $fixtureSet,
        GenerationContext $context
    ): array {
        $pattern = $value->getValue();

        try {
            $cache = $context->getCachedValue(self::IDS_BY_PATTERN_CACHE_KEY);
        } catch (CachedValueNotFound $exception) {
            $cache = [];
        }

        if (array_key_exists($pattern, $cache)) {
            return $cache[$pattern];
        }

        $suitableIds = $this->findSuitableIds($pattern, $fixtureSet);

        $cache[$pattern] = $suitableIds;
        $context->cacheValue(self::IDS_BY_PATTERN_CACHE_KEY, $cache);

        return $suitableIds;
    }
1342800
public function getId()
    {
        $value = $this->getFirstValue(PropertyIds::OBJECT_ID);
        if (is_string($value)) {
            return $value;
        }
        return null;
    }
1103773
def get_setter(self, oid):
		
		if hasattr(self.setter, oid):
			return self.setter[oid]
		parents = [ poid for poid in list(self.setter.keys()) if oid.startswith(poid) ]
		if parents:
			return self.setter[max(parents)]
		return self.default_setter
967692
@Override
    public JPAPuId[] getExtendedContextPuIds(Collection<InjectionBinding<?>> injectionBindings,
                                             String ejbName,
                                             Set<String> persistenceRefNames,
                                             List<Object> bindingList)
    {
        return JPAExEntityManager.getExtendedContextPuIds(injectionBindings, ejbName, persistenceRefNames, bindingList); // F743-30682
    }
669519
public static String getPid(EvaluationCtx context) {
        EvaluationResult attribute
                = context.getResourceAttribute(STRING_ATTRIBUTE,
                        Constants.OBJECT.PID.attributeId,
                                               null);
        BagAttribute element = getAttributeFromEvaluationResult(attribute);
        if (element == null) {
            logger.debug("PolicyFinderModule:getPid exit on can't get pid on request callback");
            return null;
        }

        if (!(element.getType().equals(STRING_ATTRIBUTE))) {
            logger.debug("PolicyFinderModule:getPid exit on couldn't get pid from xacml request non-string returned");
            return null;
        }

        return (element.size() == 1) ? (String) element.getValue() : null;
    }
127841
@ManyToOne(targetEntity = org.openprovenance.prov.sql.QualifiedName.class, cascade = {
        CascadeType.ALL
    })
    @JoinColumn(name = "ID")
    public QualifiedName getId() {
        return id;
    }
563742
def get(context, resource, **kwargs):
    """"""
    uri = '%s/%s/%s' % (context.dci_cs_api, resource, kwargs.pop('id'))
    r = context.session.get(uri, timeout=HTTP_TIMEOUT, params=kwargs)
    return r
1359938
def get_provider_id(self):
        
        if ('providerId' not in self.my_osid_object._my_map or
                not self.my_osid_object._my_map['providerId']):
            raise IllegalState('this sourceable object has no provider set')
        return Id(self.my_osid_object._my_map['providerId'])
888023
protected function _getUserId(): ?string
    {
        $userId = null;
        $callback = $this->config('userIdCallback');
        if (is_callable($callback)) {
            $userId = $callback();
        }

        return $userId;
    }
465104
@Override
    public String getId(Map<String, Object> context) {
        String id = null;

        if (isMultiplexWithAddress()) {
            String address = (String) context.get(Message.PATH_INFO);
            if (null != address) {
                int afterLastSlashIndex = address.lastIndexOf("/") + 1;
                if (afterLastSlashIndex > 0
                    && afterLastSlashIndex < address.length()) {
                    id = address.substring(afterLastSlashIndex);
                }
            } else {
                getLogger().log(Level.WARNING,
                                new org.apache.cxf.common.i18n.Message("MISSING_PATH_INFO", tc.getLogger()).toString());
            }
        } else {
            return super.getId(context);
        }
        return id;
    }
495711
public function getSettingsId($autoGenerate = true)
    {
        if ($autoGenerate && $this->_settingsId === null) {
            $this->_settingsId = static::$autoSettingsIdPrefix.static::$counterSettings++;
        }

        return $this->_settingsId;
    }
472339
public function GetID($ID, $DatasetType = FALSE) {
      $Result = $this->GetWhere(array($this->PrimaryKey => $ID))->FirstRow($DatasetType);
      
      $Fields = array('Attributes', 'Data');
      
      foreach ($Fields as $Field) {
         if (is_array($Result)) {
            if (isset($Result[$Field]) && is_string($Result[$Field])) {
               $Val = unserialize($Result[$Field]);
               if ($Val)
                  $Result[$Field] = $Val; 
               else
                  $Result[$Field] = $Val;
            }               
         } elseif (is_object($Result)) {
            if (isset($Result->$Field) && is_string($Result->$Field)) {
               $Val = unserialize($Result->$Field);
               if ($Val)
                  $Result->$Field = $Val;
               else
                  $Result->$Field = NULL;
            }
         }
      }
      
      return $Result;
   }
1151578
public String getId() {
        Jenkins h = Jenkins.getInstance();

        // in servlet 2.5, we can get the context path
        String contextPath="";
        try {
            Method m = ServletContext.class.getMethod("getContextPath");
            contextPath=" contextPath=\""+m.invoke(h.servletContext)+"\"";
        } catch (Exception e) {
            // maybe running with Servlet 2.4
        }

        return h.hashCode()+contextPath+" at "+ManagementFactory.getRuntimeMXBean().getName();
    }
711158
@Override
    protected String extractPrincipalId(final Credential credentials, final Optional<Principal> currentPrincipal) {
        val wsFedCredentials = (WsFederationCredential) credentials;
        val attributes = wsFedCredentials.getAttributes();
        LOGGER.debug("Credential attributes provided are: [{}]", attributes);
        val idAttribute = this.configuration.getIdentityAttribute();
        if (attributes.containsKey(idAttribute)) {
            LOGGER.debug("Extracting principal id from attribute [{}]", this.configuration.getIdentityAttribute());
            val idAttributeAsList = CollectionUtils.toCollection(attributes.get(this.configuration.getIdentityAttribute()));
            if (idAttributeAsList.size() > 1) {
                LOGGER.warn("Found multiple values for id attribute [{}].", idAttribute);
            } else {
                LOGGER.debug("Found principal id attribute as [{}]", idAttributeAsList);
            }

            val result = CollectionUtils.firstElement(idAttributeAsList);
            if (result.isPresent()) {
                val principalId = result.get().toString();
                LOGGER.debug("Principal Id extracted from credentials: [{}]", principalId);
                return principalId;
            }
        }
        LOGGER.warn("Credential attributes do not include an attribute for [{}]. "
            + "This will prohibit CAS to construct a meaningful authenticated principal. "
            + "Examine the released claims and ensure [{}] is allowed", idAttribute, idAttribute);
        return null;
    }
810465
public function get($alias, $default = false, $config = array())
	{
		$result = $this->cache->get($alias,isset($config['cache_cb']) ? $config['cache_cb'] : null,isset($config['cas_token']) ? $config['cas_token'] : null);
		if(false === $result)
		{
			return $this->parseDefault($default);
		}
		else
		{
			return $result;
		}
	}
37044
public function getConfigTreeBuilder()
    {
        $treeBuilder = new TreeBuilder('cas_guard');
        $rootNode = $treeBuilder->root('cas_guard');
        $rootNode
            ->children()
                ->scalarNode('certificate')
                    ->defaultFalse()
                    ->example('certificate path')
                    ->info('Enter the certificate to identify the CAS server. Set to false if you do not use it. In production, you must use one.')
                ->end()
                ->scalarNode('debug')
                    ->defaultValue('')
                    ->example('phpcas-trace.log')
                    ->info('Enter a filename to trace log or leave empty to use the default filename. Set to false to disable debug function.')
                ->end()
                ->scalarNode('hostname')
                    ->isRequired()
                    ->cannotBeEmpty()
                    ->example('example.org')
                    ->info('Enter the hostname of the CAS server.')
                ->end()
                ->enumNode('language')
                    ->values([
                        /* @see https://github.com/apereo/phpCAS/blob/master/source/CAS.php#L215 */
                        self::PHPCAS_LANG_ENGLISH,
                        self::PHPCAS_LANG_FRENCH,
                        self::PHPCAS_LANG_GREEK,
                        self::PHPCAS_LANG_GERMAN,
                        self::PHPCAS_LANG_JAPANESE,
                        self::PHPCAS_LANG_SPANISH,
                        self::PHPCAS_LANG_CATALAN,
                        self::PHPCAS_LANG_CHINESE_SIMPLIFIED,
                    ])
                    ->defaultValue(self::PHPCAS_LANG_ENGLISH)
                    ->example('CAS_Languages_French')
                    ->info('Enter the language for phpcas error and trace. Possible value could be read here: https://github.com/apereo/phpCAS/blob/master/source/CAS.php#L215 .')
                ->end()
                ->integerNode('port')
                    ->defaultValue(443)
                    ->example('443')
                    ->info('Server cas port')
                ->end()
                ->scalarNode('url')
                    ->defaultValue('cas/login')
                    ->example('cas/login')
                    ->info('REQUEST_PATH of the CAS server.')
                ->end()
                ->arrayNode('route')
                    ->info('Route node.')
                    ->addDefaultsIfNotSet()
                    ->children()
                        ->scalarNode('homepage')
                            ->defaultValue('homepage')
                            ->example('home')
                            ->info('Name of your home route.')
                        ->end()
                        ->scalarNode('login')
                            ->defaultValue('security_login')
                            ->example('my_login_route')
                            ->info('Name of your login route.')
                        ->end()
                        ->scalarNode('logout')
                            ->defaultValue('home')
                            ->example('home')
                            ->info('Name of the route where user is redirected after successful logout.')
                        ->end()
                    ->end()
                ->end()
                ->booleanNode('verbose')
                    ->defaultValue(false)
                    ->example('true')
                    ->info('If true phpcas trace will be more explicit.')
                ->end()
                ->enumNode('version')
                    ->values([
                        self::CAS_VERSION_3_0,
                        self::CAS_VERSION_2_0,
                        self::CAS_VERSION_1_0,
                    ])
                    ->defaultValue(self::CAS_VERSION_3_0)
                    ->example('3.0')
                    ->info('Version of the CAS Server.')
                ->end()
                ->arrayNode('logout')
                    ->info('Logout node.')
                    ->addDefaultsIfNotSet()
                    ->canBeUnset()
                    ->children()
                        ->booleanNode('supported')
                            ->defaultTrue()
                            ->example('false')
                            ->info('Are the CAS server and your application supporting single sign out signal?')
                        ->end()
                        ->booleanNode('handled')
                            ->defaultTrue()
                            ->example('false')
                            ->info('Are your application handling single sign out signal?')
                        ->end()
                        ->arrayNode('allowed_clients')
                            ->canBeUnset()
                            ->scalarPrototype()->end()
                            ->example('["server1.example.org", "server2.example.org"]')
                            ->info('List of host names allowed to send logout requests.')
                        ->end()
                        ->BooleanNode('redirect_url')
                            ->defaultFalse()
                            ->example('true')
                            ->info('true if you want to provide the url to the user to go back to your application after logout.')
                        ->end()
                    ->end()
                ->end()
            ->end();

        return $treeBuilder;
    }