text:
{% include 'header.html' %}

            Back

Resource Search

            <form action="/mobile/resources" method="get">

                  Location
                  <input type="text" name="query" id="query" value="" class="ui-input-text ui-body-c ui-corner-all ui-shadow-inset">

                Category
                <select id="kind" name="kind" tabindex="2">
        					<option value="shelter">Shelter</option>
        					<option value="food">Food</option>
        					<option value="social">Social</option>
        					<option value="legal">Legal</option>
        					<option value="medical">Medical</option>
        					<option value="hotline">Hotline</option>
        					<option value="employment">Employment</option>
                </select>

                <button type="submit" name="submit" class="btn btn-large btn-info">Go</button>
            </form>


text:
export const CHANGE_AMOUNT = 'CHANGE_AMOUNT';

export function changeAmount(amount) {
    return {
        type: CHANGE_AMOUNT,
        amount,
    };
}

redpajama_set_name: RedPajamaGithub


text:
package jwt

import (
	"encoding/base64"
	"encoding/json"
	"strings"
)

type Algorithm interface {
	Sign(string) (string, error)
	Name() string
}

type JWT struct {
	Header struct {
		Typ     string `json:"typ"`
		AlgName string `json:"alg"`
	}
	Claims map[string]interface{}
	Alg    Algorithm
}

func EncodeToString(in []byte) string {
	return strings.TrimRight(base64.URLEncoding.EncodeToString(in), "=")
}

func New(alg Algorithm) *JWT {
	j := &JWT{}
	j.Header.Typ = "JWT"
	j.Header.AlgName = alg.Name()
	j.Claims = make(map[string]interface{})
	j.Alg = alg
	return j
}

func (j *JWT) Sign() (string, error) {
	parts := make([]string, 3)
	temp, err := json.Marshal(j.Header)
	if err != nil {
		return "", err
	}
	parts[0] = EncodeToString(temp)

	temp, err = json.Marshal(j.Claims)
	if err != nil {
		return "", err
	}
	parts[1] = EncodeToString(temp)

	parts[2], err = j.Alg.Sign(strings.Join(parts[:2], "."))
	if err != nil {
		return "", err
	}
	return strings.Join(parts, "."), nil
}


text:
package org.opensingular.lib.wicket.util.datatable;

import java.io.Serializable;
import java.util.Iterator;
import java.util.List;

import org.apache.wicket.extensions.markup.html.repeater.data.sort.SortOrder;
import org.apache.wicket.extensions.markup.html.repeater.util.SortParam;
import org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.Model;

public abstract class BaseTreeDataProvider<T, S> extends SortableDataProvider<T, S> {

    public BaseTreeDataProvider() {}
    public BaseTreeDataProvider(S defaultSort) {
        super.setSort(defaultSort, SortOrder.ASCENDING);
    }

    public abstract List<? extends T> list(int first, int count, S sortProperty, boolean ascending);

    public BaseTreeDataProvider<T, S> setSortAsc(S property) {
        super.setSort(property, SortOrder.ASCENDING);
        return this;
    }
    public BaseTreeDataProvider<T, S> setSortDesc(S property) {
        super.setSort(property, SortOrder.DESCENDING);
        return this;
    }

    @Override
    public Iterator<? extends T> iterator(long first, long count) {
        SortParam<S> sort = getSort();
        return list((int) first, (int) count,
            (sort == null) ? null : sort.getProperty(),
            (sort == null) ? true : sort.isAscending())
            .iterator();
    }

    @Override
    @SuppressWarnings({ "rawtypes", "unchecked" })
    public IModel<T> model(T object) {

//        if (object instanceof IEntity && ((IEntity) object).getId() != null) {
//            return new EntityModel((IEntity) object);
//        } else //
        if (object instanceof Serializable) {
            return new Model((Serializable) object);
        }

        throw new IllegalArgumentException("Model do objeto não pode ser resolvido: " + object);
    }

}


text:
====================================
:index:`Open and Save a SQLite File`
====================================

Open a SQLite File
==================

Once you've imported your JSON scan and saved it as SQLite, you'll continue your
review and analysis work solely in the SQLite file.

* To open a SQLite File:

  .. figure:: data/open-sqlite-cropped.png
     :class: with-border
     :width: 250px

     ..

     Open a SQLite file.

  * Select the :kbd:`File` menu and then select :kbd:`Open SQLite File` (keyboard shortcut:
    :kbd:`Ctrl+O` or :kbd:`⌘+O`).
  * In the dialog window that opens, navigate to the SQLite file you want to open, select the file
    and click :kbd:`Open`.

Save as a New SQLite File
=========================

There may be times when you need to preserve the current state of your work and continue
working in a separate file.  No problem -- just save your work as a new SQLite file.

* To save as a new SQLite file:

  .. figure:: data/save-as-sqlite-cropped.png
     :class: with-border
     :width: 300px

     ..

     Save as new SQLite file.

  * Select the :kbd:`File` menu and then select :kbd:`Save As New SQLite File` (keyboard shortcut:
    :kbd:`Ctrl+S` or :kbd:`⌘+S`).
  * In the dialog window that opens, add a name for the file, navigate to the directory in which
    you want to save the file and click :kbd:`Save`.


text:
module AppfluxRuby
  module MessageBuilders
    class Base
      def initialize exception, rack_env
        @exception = exception
        @rack_env  = rack_env
        @request   = ::Rack::Request.new(rack_env)
        @session   = @request.session
        ## TODO: Probably extract this hash into a dedicated class?
        @notice    = Hash.new
      end

      def build
        @notice
      end

      def self.build exception, rack_env
        new(exception, rack_env).build
      end

    end
  end
end


text:
function __processArg(obj, key) {
    var arg = null;
    if (obj) {
        arg = obj[key] || null;
        delete obj[key];
    }
    return arg;
}

function Controller() {
    function openClassDetail() {
        var args = {
            id: this.id
        };
        var sessionDetail = Alloy.createController("classdetail", args);
        sessionDetail.openMainWindow($.ClassesTab);
    }
    require("alloy/controllers/BaseController").apply(this, Array.prototype.slice.call(arguments));
    this.__controllerPath = "classes";
    if (arguments[0]) {
        {
            __processArg(arguments[0], "__parentSymbol");
        }
        {
            __processArg(arguments[0], "$model");
        }
        {
            __processArg(arguments[0], "__itemTemplate");
        }
    }
    var $ = this;
    var exports = {};
    $.__views.classWindow = Ti.UI.createWindow({
        id: "classWindow",
        layout: "vertical",
        backgroundColor: "#FBC9BA",
        barColor: "black",
        statusBarStyle: Titanium.UI.iPhone.StatusBar.OPAQUE_BLACK,
        backgroundImage: "/images/background/heart_pattern_pink.png"
    });
    $.__views.__alloyId3 = Ti.UI.createButton({
        backgroundImage: "/images/toolbar/leftNavButton.png",
        id: "__alloyId3"
    });
    $.__views.classWindow.leftNavButton = $.__views.__alloyId3;
    $.__views.classTable = Ti.UI.createTableView({
        id: "classTable",
        height: Titanium.UI.SIZE,
        width: "95%",
        borderRadius: "6",
        borderColor: "gray",
        top: "7"
    });
    $.__views.classWindow.add($.__views.classTable);
    $.__views.ClassesTab = Ti.UI.createTab({
        window: $.__views.classWindow,
        id: "ClassesTab",
        title: "Mis Clases",
        tintColor: "#FBC9BA",
        backgroundColor: "black",
        icon: "images/toolbar/Pen.png"
    });
    $.__views.ClassesTab && $.addTopLevelView($.__views.ClassesTab);
    exports.destroy = function() {};
    _.extend($, $.__views);
    var titleLabel = Titanium.UI.createLabel({
        color: "#FBC9BA",
        text: "Mis Clases",
        font: {
            fontWeight: "bold",
            fontSize: "16"
        }
    });
    $.classWindow.setTitleControl(titleLabel);
    Alloy.Globals.veriftDataBase();
    var db = Titanium.Database.open("Events");
    var rows = db.execute("SELECT * FROM Class c LEFT JOIN Rel_UserClass r where c.GroupID = r.GroupID and r.ConsultantID = '" + Alloy.Globals.loggedUser + "' and c.EventID = " + Alloy.Globals.seminarID);
    var results = [];
    while (rows.isValidRow()) {
        results.push({
            classID: rows.fieldByName("ClassID"),
            className: rows.fieldByName("ClassName"),
            classDate: rows.fieldByName("ClassDate"),
            classTime: rows.fieldByName("ClassTime"),
            classVenue: rows.fieldByName("Venue"),
            classImageURL: rows.fieldByName("ClassImageURL")
        });
        rows.next();
    }
    rows.close();
    itemRows = [];
    for (var c = 0; c < results.length; c++) {
        var item = results[c];
        var row = Ti.UI.createTableViewRow({
            height: "150",
            layout: "horizontal",
            id: item.classID,
            hasChild: true
        });
        row.addEventListener("click", openClassDetail);
        var imagePhoto = Ti.UI.createImageView({
            image: item.classImageURL,
            width: "100px",
            left: "10"
        });
        row.add(imagePhoto);
        var customView = Ti.UI.createView({
            id: "rowContainer",
            layout: "vertical",
            textAlign: Ti.UI.TEXT_ALIGNMENT_LEFT,
            width: Ti.UI.FILL
        });
        var classNameLabel = Ti.UI.createLabel({
            id: "sessionName",
            text: item.className,
            font: {
                fontSize: 14,
                fontWeight: "bold"
            },
            color: "black",
            textAlign: Ti.UI.TEXT_ALIGNMENT_LEFT,
            top: 10,
            left: 5
        });
        customView.add(classNameLabel);
        var venueLabel = Ti.UI.createLabel({
            id: "textInfo",
            text: item.classVenue,
            font: {
                fontSize: 11
            },
            color: "gray",
            textAlign: Ti.UI.TEXT_ALIGNMENT_LEFT,
            left: 5
        });
        customView.add(venueLabel);
        var classDate = Ti.UI.createLabel({
            id: "textInfo",
            text: item.classDate,
            font: {
                fontSize: 11
            },
            color: "gray",
            textAlign: Ti.UI.TEXT_ALIGNMENT_LEFT,
            left: 5
        });
        customView.add(classDate);
        var classTime = Ti.UI.createLabel({
            id: "textInfo",
            text: item.classTime,
            font: {
                fontSize: 11
            },
            color: "gray",
            textAlign: Ti.UI.TEXT_ALIGNMENT_LEFT,
            left: 5
        });
        customView.add(classTime);
        row.add(customView);
        itemRows[c] = row;
    }
    $.classTable.data = itemRows;
    db.close();
    _.extend($, exports);
}

var Alloy = require("alloy"), Backbone = Alloy.Backbone, _ = Alloy._;

module.exports = Controller;


text:
* **Fixed Symfony 2.6 compatibility in Yaml::parse by @antonioribeiro**
* Specific tests can be executed without adding .php extension by @antonioribeiro See #1531 *2014-12-20*

Now you can run specific test using shorter format:

```
codecept run unit tests/unit/Codeception/TestLoaderTest
codecept run unit Codeception
codecept run unit Codeception:testAddCept

codecept run unit /var/www/myapp.dev/vendor/codeception/codeception/tests/unit/Codeception
codecept run unit /var/www/myapp.dev/vendor/codeception/codeception/tests/unit/Codeception:testAddCept

codecept run unit Codeception/TestLoaderTest.php
codecept run unit Codeception/TestLoaderTest
codecept run unit Codeception/TestLoaderTest.php:testAddCept
codecept run unit Codeception/TestLoaderTest:testAddCept

codecept run unit /var/www/myapp.dev/vendor/codeception/codeception/tests/unit/Codeception/TestLoaderTest.php
codecept run unit /var/www/myapp.dev/vendor/codeception/codeception/tests/unit/Codeception/TestLoaderTest.php:testAddCept
codecept run unit /var/www/myapp.dev/vendor/codeception/codeception/tests/unit/Codeception/TestLoaderTest
codecept run unit /var/www/myapp.dev/vendor/codeception/codeception/tests/unit/Codeception/TestLoaderTest:testAddCept

codecept run unit tests/unit/Codeception
codecept run unit tests/unit/Codeception:testAddCept
codecept run unit tests/unit/Codeception/TestLoaderTest.php
codecept run unit tests/unit/Codeception/TestLoaderTest.php:testAddCept
codecept run unit tests/unit/Codeception/TestLoaderTest
codecept run unit tests/unit/Codeception/TestLoaderTest:testAddCept
```

* [Db] Remove table constraints prior to drop table in clean up for SqlSrv by @jonsa *2014-12-20*
* [PhpBrowser][Frameworks] Fixed: submitForm with form using site-root relative paths may fail depending on configuration #1510 by @zbateson *2014-12-20*
* [WebDriver][PhpBrowser][Frameworks] `seeInField` method to work for radio, checkbox and select fields. Thanks to @zbateson *2014-12-20*
* Fixed usage of `--no-colors` flag by @zbateson. Issue #1562 *2014-12-20*
* [REST] sendXXX methods now encode objects implementing JsonSerializable interfaces. *2014-12-19*
* [REST] added methods to validate JSON structure *2014-12-19*

`seeResponseJsonMatchesJsonPath` validates response JSON against [JsonPath](http://goessner.net/articles/JsonPath/).
Usage of JsonPath requires library "flow/jsonpath" to be installed.

`seeResponseJsonMatchesXpath` validates response JSON against XPath.
It converts JSON structure into valid XPath document and executes XPath for it.

`grabDataFromResponseByJsonPath` method was added as well to grab data JSONPath.

* [REST] `grabDataFromJsonResponse` deprecated in favor of `grabDataFromResponseByJsonPath` *2014-12-19*
* [PhpBrowser][Frameworks] fixed `Unreachable field` error while filling [] fields in input and textarea fields. Issues #1585 #1602 *2014-12-18*

#### 2.0.8

* Dependencies updated: facebook/php-webdriver 0.5.x and guzzle 5 *2014-11-17*
* [WebDriver] Fixed selectOption and (dont)seeOptionIsSelected for multiple radio button groups by @MasonM. See #1467 *2014-11-18*
* [WebDriver][PhpBrowser][Frameworks] Clicked submit button can be specified as 3rd parameter in `submitForm` method by @zbateson. See #1518
* [ZF1] Format ZF response to Symfony\Component\BrowserKit\Response by @MOuli90. Fixes #1476
* [PhpBrowser][Frameworks] fixed `grabValueFrom` method by @zbateson. See #1512
* [Db] Fixed Postgresql error with schemas by @rafreis. Fixes #970
* [PhpBrowser] Fix for meta refresh tags with interval by @zbateson. See #1515
* [PhpBrowser][Frameworks] Fixed: `grabTextFrom` doesn't work with regex by @zbateson. See #1519
* Cest tests support multiple `@before` and `@after` annotations. Thanks to @draculus and @zbateson. See #1517
* [FTP] Stops test execution on failed connection by @yegortokmakov
* [AMQP] Fix for purging queues on initialization stage. Check for open channel is not needed and it prevents from cleaning queue by @yegortokmakov
* CodeCoverage remote context configuration added by @synchrone. See #1524 [Documentation updated](http://codeception.com/docs/11-Codecoverage#Remote-Context-Options)
* Implemented better descriptions for error exception. Fix #1503
* Added `c3_url` option to code coverage settings. `c3_url` allows to explicitly set url for index file with c3 included. See #1024
* [PhpBrowser][Frameworks] Fixed selecting checkbock in a group of checkboxes #1535
* [PhpBrowser][Frameworks] submitForm sends default values for radio buttons and checkboxes by @zbateson. Fixes #1507 *2014-11-3*
* [ZF2] Close any open ZF2 sessions by @FnTm. See #1486 *2014-10-24*

#### 2.0.7

* [Db] Made the postgresql loader load $$ syntax correctly by @rtuin. See #1450 *2014-10-12*
* [Yii1] fixed syntax typo in Yii1 Connector by @xt99 *2014-10-12*
* [PhpBrowser][WebDriver] amOnUrl method added for opening absolute urls. This behavior taken from amOnPage method, initially introduced in 2.0.6 *2014-10-12*
* Fixed usage of whitespaces in wantTo. See #1456 *2014-10-12*
* [WebDriver][PhpBrowser][Frameworks] fillField is matching element by name, then by CSS. Fixes #1454 *2014-10-12*

#### 2.0.6

* Fixed list of executed suites while running included suites by @gureedo. See #1427 *2014-10-08*
* [Frameworks] support files and request names containing square brackets, dots, spaces. See #1438. Thanks to @kkopachev *2014-10-08*
* [PhpBrowser] array of files for Guzzle to support format: file[foo][bar]. Fixes #342 by @kkopachev *2014-10-07*
* Added strict mode for XML generation. *2014-10-06*

In this mode only standard JUnit attributes are added to XML reports, so special attributes like `feature` won't be included. This improvement fixes usage XML reports with Jenkins #1408
  To enable strict xml generation add to `codeception.yml`:

```
settings:
    strict_xml: true
```

* Fixed retrieval of codecoverage reports on remote server #1379 *2014-10-06*
* [PhpBrowser][Frameworks] Malformed XPath won't throw fatal error, but makes tests fail. Fixes #1409 *2014-10-06*
* Build command generates actors for included suites. See #1267 *2014-10-03*
* CodeCoverage throws error on unsuccessful requests (status code is not 200) to remote server. Fixes #346 *2014-10-03*
* CodeCoverage can be disabled per suite. Fix #1249 *2014-10-02*
* Fix: --colors and --no-colors options can override settings from config *2014-10-02*
* [WebDriver] `waitForElement*` methods accept strict locators and WebDriverBy as parameters. See #1396 *2014-09-29*
* [PhpBrowser] `executeInGuzzle` uses baseUrl set from config. Fixes #1416 *2014-09-29*
* [Laravel4] fire booted callbacks between requests without kernel reboot. Fixes #1389, See #1415 *2014-09-29*
* [WebDriver][PhpBrowser][Frameworks] `submitForm` accepts forms with document-relative paths. Fixes #1274 *2014-09-28*
* [WebDriver][PhpBrowser][Frameworks] Fixed #1381: `fillField` fails for a form without a submit button by @zbateson *2014-09-28*
* [PhpBrowser][WebDriver] `amOnPage` now accepts absolute urls *2014-09-27*
* [Db] ignore errors from lastInsertId by @tomykaira *2014-09-27*
* [WebDriver] saves HTML snapshot on fail *2014-09-27*
* [WebDriver] fixed #1392: findField should select by id, css, then fall back on xpath *2014-09-27*
* [WebDriver] Don't check for xpath if css selector is set, by @Danielss89 #1367 *2014-09-27*
* Specify actor class for friends by @tomykaira. See #1394 *2014-09-27*

#### 2.0.5

* [Queue] module added with AWS, Iron.io, and Beanstalkd support. Thanks to @nathanmac *2014-08-21*
* [WebDriver] fixed attachFile error message when file does not exists #1333 by @TroyRudolph *2014-08-21*
* [Asserts] Added assertLessThan and assertLessThanOrEqual by @Great-Antique *2014-08-21*
* [ZF2] fixed #1283 by @dkiselew *2014-08-21*
* Added functionality to Stub to allow ConsecutiveCallStub. See #1300 by @nathanmac *2014-08-21*
* Cest generator inserts  object into _before and _after methods by @TroyRudolph *2014-08-21*
* [PhpBrowser][Frameworks] Fixed #1304 - ->selectOption() fails if two submit buttons present by @fdjohnston *2014-08-21*
* [WebDriver][PhpBrowser][Frameworks] seeNumberOfElements method added by @dynasource *2014-08-21*
* recursive runner for included suites by @dynasource *2014-08-21*
* Disabled skipped/incomplete tests logging in jUnit logger for smooth Bamboo integration by @ayastreb *2014-08-21*

#### 2.0.4

* [Laravel4] More functional, cli, and api tests added to demo application <https://github.com/Codeception/sample-l4-app> *2014-08-05*
* Fix: GroupManager uses DIRECTORY_SEPARATOR for loaded tests *2014-08-05*
* [Laravel4] Uses `app.url` config value for creating requests. Fixes #1095 *2014-08-04*
* [Laravel4] `seeAuthenticated` / `dontSeeAuthenticated` assertions added to check that current user is authenticated *2014-08-04*
* [Laravel4] `logout` action added *2014-08-04*
* [Laravel4] `amLoggedAs` can login user by credentials *2014-08-04*
* [Laravel4] Added `amOnRoute`, `amOnAction`, `seeCurrentRouteIs`, `seeCurrentActionIs` actions *2014-08-04*
* [Laravel4] Added `haveEnabledFilters` and `haveDisabledFilters` actions to toggle filters in runtime *2014-08-04*
* [Laravel4] Added `filters` option to enable filters on testing *2014-08-04*
* [REST] seeResponseContainsJson should not take arrays order into account. See #1268 *2014-08-04*
* [REST] grabDataFromJsonResponse accepts empty path to return entire json response *2014-08-04*
* [REST] print_r replaced with var_export for better output on json comparison #1210 *2014-08-02*
* [REST] Reset request variables in the before hook by @brutuscat #1232 *2014-08-01*
* [Db] Oci driver for oracle database by @Sikolasol #1234 #1243 *2014-08-01*
* [Laravel4] Unit testing and test environment are now configurable #1255 by @ipalaus *2014-08-01*
* [Laravel4] Fixed Cest testing when using Laravel's Auth #1258 by @ipalaus *2014-08-01*
* FIX #948 code coverage HTML: uncovered files missing by @RLasinski *2014-07-26*
* [Laravel4] project root relative config parameter added by @kernio *2014-07-26*

#### 2.0.3

* [Symfony2] Symfony3 directory structure implemented by @a6software *2014-07-21*
* Console: printing returned values *2014-07-21*
* FIX: TAP and JSON logging should not be started when no option --json or --tap provided *2014-07-21*
* [Doctrine2] FIXED: persisting transaction between Symfony requests *2014-07-19*
* [Symfony2] created Symfony2 connector with persistent services *2014-07-19*
* [Doctrine2] implemented haveInRepository method (previously empty) *2014-07-17*
* When Cest fails @after method wont be executed *2014-07-17*
* [Laravel4] App is rebooted before each test. Fixes #1205 *2014-07-15*
* FIX: `codeception/specify` is now available in phar *2014-07-14*
* FIX: Interactive console works again *2014-07-09*
* `_bootstrap.php` is now loaded before `beforeSuite` module hooks.
* FIX: Suite `_bootstrap.php` was loaded after test run by @samdark *2014-07-11*

#### 2.0.2

* [PhpBrowser][Frameworks] correctly send values when there are several submit buttons in a form by @TrustNik *2014-07-08*
* [REST] fixed connection with framework modules *2014-07-06*
* [PhpBrowser][Frameworks] `checkOption` now works for checkboxes with array[] name by @TrustNik
* [PhpBrowser][Frameworks] FIX: `seeOptionIsSelected` and `dontSeeOptionIsSelected` now works with radiobuttons by @TrustNik *2014-07-05*
* [FTP] MODULE ADDED by @nathanmac *2014-07-05*
* [WebDriver] Enabled remote upload of local files to remote selenium server by @motin *2014-07-05*
* [Yii2][Yii1] disabled logging for better functional test performance

#### 2.0.1

* [Phalcon1] Fixed connector
* [WebDriver] added seeInPageSource and dontSeeInPageSource methods
* [WebDriver] see method now checks only for visible BODY element by @artyfarty
* [REST] added Bearer authentication by @dizews
* removed auto added submit buttons in forms previously used as hook for DomCrawler
* BUGFIX: PHP 5.4.x compatibility fixed. Sample error output: 'Method WelcomeCept.php does not exist' #1084 #1069 #1109
* Second parameter of Cest method is treated as scenario variable on parse. Fix #1058
* prints raw stack trace including codeception classes in -vvv mode
* screenshots on fail are saved to properly named files #1075
* [Symfony2] added debug config option to switch debug mode by @pmcjury

#### 2.0.0

* renamed `_logs` dir to `_output` by default
* renamed `_helpers` dir to `_support` by default
* Guy renamed to Tester
* Bootstrap command got 3 installation modes: default, compat, setup
* added --coverage-text option

#### 2.0.0-RC2

* removed fabpot/goutte, added Guzzle4 connector
* group configuration can accept groups by patterns

#### 2.0.0-RC

* [WebDriver] makeScreenshot does not use filename of a test
* added `grabAttributeFrom`
* seeElement to accept attributes in second parameter: seeElement('input',['name'=>'login'])

#### 2.0.0-beta

* executeInGuzzle is back in PhpBrowser
* environment can be accessed via ->env in test
* before/after methods of Cest can take  object
* moved logger to extension
* bootstrap files are loaded before suite only
* extension can reconfigure global config
* removed RefactorAddNamespace and Analyze commands
* added options to set output files for xml, html reports, and coverage
* added extension to rerun failed tests
* webdriver upgraded to 0.4
* upgraded to PHPUnit 4


text:
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.indexinglanguage.expressions;

import com.yahoo.document.DataType;
import com.yahoo.document.datatypes.FloatFieldValue;

/**
 * @author Simon Thoresen Hult
 */
public final class ToFloatExpression extends Expression {

    public ToFloatExpression() {
        super(UnresolvedDataType.INSTANCE);
    }
    @Override
    protected void doExecute(ExecutionContext context) {
        context.setValue(new FloatFieldValue(Float.valueOf(String.valueOf(context.getValue()))));
    }

    @Override
    protected void doVerify(VerificationContext context) {
        context.setValueType(createdOutputType());
    }

    @Override
    public DataType createdOutputType() {
        return DataType.FLOAT;
    }

    @Override
    public String toString() {
        return "to_float";
    }

    @Override
    public boolean equals(Object obj) {
        return obj instanceof ToFloatExpression;
    }

    @Override
    public int hashCode() {
        return getClass().hashCode();
    }
}


text:
import {Component, ElementRef,Input} from '@angular/core';
import {IModel} from '../../../app.service';

@Component({
  selector: 'gc-form',
  templateUrl: './gcForm.html',
  styleUrls: ['./gcForm.scss']
})
export class GcForm {

  constructor(public imodel:IModel) {

  }
  @Input() data:any;

  controls():any[]{
    const self = this;
    var result:any[] =[];
    for (let i = 0; i < self.data.$meta.$value.length; i++) {
      var obj = self.imodel.at(self.data.$meta.$value[i]);
      result.push(obj);
    };
    return result;
  }

  checkTypeAndValueAccordance(obj:any):boolean{

    if(this.isObjectType(obj) && this.isObjectValue(obj)) return true;
    if(!this.isObjectType(obj) && !this.isObjectValue(obj)) return true;
    return false;
  }
  isObjectType(obj:any):boolean{
    return !/^number|string|currency/.test(obj.$meta.$attributes.type);
  };
  isObjectValue(obj:any):boolean{
    if(typeof obj.$meta.$value === 'object') return true;
    return false;
  }

  ngOnInit() {
    var self = this;

  }

}


text:
#import <OfficeImport/OADLineJoin.h>

// Not exported
@interface OADBevelLineJoin : OADLineJoin
{
}

+ (id)defaultProperties;
- (_Bool)isEqual:(id)arg1;
- (id)initWithDefaults;
- (id)copyWithZone:(struct _NSZone *)arg1;

@end


text:
package zap

import (
	"encoding/binary"
	"fmt"
	"strconv"

	"github.com/golang/snappy"
	"github.com/spf13/cobra"
)

// storedCmd represents the stored command
var storedCmd = &cobra.Command{
	Use:   "stored [path] [docNum]",
	Short: "prints the stored section for a doc number",
	Long:  `The stored command will print the raw stored data bytes for the specified document number.`,
	RunE: func(cmd *cobra.Command, args []string) error {
		if len(args) < 2 {
			return fmt.Errorf("must specify doc number")
		}
		docNum, err := strconv.Atoi(args[1])
		if err != nil {
			return fmt.Errorf("unable to parse doc number: %v", err)
		}
		if docNum >= int(segment.NumDocs()) {
			return fmt.Errorf("invalid doc number %d (valid 0 - %d)", docNum, segment.NumDocs()-1)
		}
		data := segment.Data()
		storedIdx := segment.StoredIndexOffset()
		// read docNum entry in the index
		indexPos := storedIdx + (8 * uint64(docNum))
		storedStartAddr := binary.BigEndian.Uint64(data[indexPos : indexPos+8])
		fmt.Printf("Stored field starts at %d (%#x)\n", storedStartAddr, storedStartAddr)

		var n uint64
		metaLen, read := binary.Uvarint(data[storedStartAddr : storedStartAddr+binary.MaxVarintLen64])
		n += uint64(read)
		fmt.Printf("Meta Len: %d\n", metaLen)
		var dataLen uint64
		dataLen, read = binary.Uvarint(data[storedStartAddr+n : storedStartAddr+n+binary.MaxVarintLen64])
		n += uint64(read)
		fmt.Printf("Data Len: %d\n", dataLen)
		meta := data[storedStartAddr+n : storedStartAddr+n+metaLen]
		fmt.Printf("Raw meta: % x\n", meta)
		raw := data[storedStartAddr+n+metaLen : storedStartAddr+n+metaLen+dataLen]
		fmt.Printf("Raw data (len %d): % x\n", len(raw), raw)

		// handle _id field special case
		idFieldValLen, _ := binary.Uvarint(meta)
		fmt.Printf("Raw _id (len %d): % x\n", idFieldValLen, raw[:idFieldValLen])
		fmt.Printf("Raw fields (len %d): % x\n", dataLen-idFieldValLen, raw[idFieldValLen:])
		uncompressed, err := snappy.Decode(nil, raw[idFieldValLen:])
		if err != nil {
			panic(err)
		}
		fmt.Printf("Uncompressed fields (len %d): % x\n", len(uncompressed), uncompressed)

		return nil
	},
}

func init() {
	RootCmd.AddCommand(storedCmd)
}


text:
module Google
  module Cloud
    module Bigquery
      class Dataset
        ##
        # # Dataset Access Control
        #
        # Represents the Access rules for a {Dataset}.
        #
        # @see https://cloud.google.com/bigquery/access-control BigQuery Access
        #   Control
        #
        # @example
        #   require "google/cloud/bigquery"
        #
        #   bigquery = Google::Cloud::Bigquery.new
        #   dataset = bigquery.dataset "my_dataset"
        #
        #   dataset.access do |access|
        #     access.add_owner_group "owners@example.com"
        #     access.add_writer_user "writer@example.com"
        #     access.remove_writer_user "readers@example.com"
        #     access.add_reader_special :all
        #     access.add_reader_view other_dataset_view_object
        #   end
        #
        class Access
          # @private
          ROLES = { "reader" => "READER",
                    "writer" => "WRITER",
                    "owner"  => "OWNER" }

          # @private
          SCOPES = { "user"           => :user_by_email,
                     "user_by_email"  => :user_by_email,
                     "userByEmail"    => :user_by_email,
                     "group"          => :group_by_email,
                     "group_by_email" => :group_by_email,
                     "groupByEmail"   => :group_by_email,
                     "domain"         => :domain,
                     "special"        => :special_group,
                     "special_group"  => :special_group,
                     "specialGroup"   => :special_group,
                     "view"           => :view }

          # @private
          GROUPS = { "owners"                  => "projectOwners",
                     "project_owners"          => "projectOwners",
                     "projectOwners"           => "projectOwners",
                     "readers"                 => "projectReaders",
                     "project_readers"         => "projectReaders",
                     "projectReaders"          => "projectReaders",
                     "writers"                 => "projectWriters",
                     "project_writers"         => "projectWriters",
                     "projectWriters"          => "projectWriters",
                     "all"                     => "allAuthenticatedUsers",
                     "all_authenticated_users" => "allAuthenticatedUsers",
                     "allAuthenticatedUsers"   => "allAuthenticatedUsers" }

          ##
          # @private
          # Initialized a new Access object.
          # Must provide a valid Google::Apis::BigqueryV2::Dataset object.
          # Access will mutate the gapi object.
          def initialize
            @rules = [] # easiest to do this in the constructor
            @original_rules_hashes = @rules.map(&:to_h)
          end

          # @private
          def changed?
            @original_rules_hashes != @rules.map(&:to_h)
          end

          # @private
          def empty?
            @rules.empty?
          end

          # @private
          def freeze
            @rules = @rules.map(&:dup).map(&:freeze)
            @rules.freeze
            super
          end

          ##
          # @private View the access rules as an array of hashes.
          def to_a
            @rules.map(&:to_h)
          end

          ##
          # Add reader access to a user.
          def add_reader_user email
            add_access_role_scope_value :reader, :user, email
          end

          ##
          # Add reader access to a group.
          def add_reader_group email
            add_access_role_scope_value :reader, :group, email
          end

          ##
          # Add reader access to a domain.
          def add_reader_domain domain
            add_access_role_scope_value :reader, :domain, domain
          end

          ##
          # Add reader access to a special group.
          # Accepted values are `owners`, `writers`, `readers`, and `all`.
          def add_reader_special group
            add_access_role_scope_value :reader, :special, group
          end

          ##
          # Add reader access to a view.
          # The view can be a Google::Cloud::Bigquery::View object,
          # or a string identifier as specified by the
          # [Query
          # Reference](https://cloud.google.com/bigquery/query-reference#from):
          # +project_name:datasetId.tableId+.
          def add_reader_view view
            add_access_view view
          end

          ##
          # Add writer access to a user.
          def add_writer_user email
            add_access_role_scope_value :writer, :user, email
          end

          ##
          # Add writer access to a group.
          def add_writer_group email
            add_access_role_scope_value :writer, :group, email
          end

          ##
          # Add writer access to a domain.
          def add_writer_domain domain
            add_access_role_scope_value :writer, :domain, domain
          end

          ##
          # Add writer access to a special group.
          # Accepted values are `owners`, `writers`, `readers`, and `all`.
          def add_writer_special group
            add_access_role_scope_value :writer, :special, group
          end

          ##
          # Add owner access to a user.
          def add_owner_user email
            add_access_role_scope_value :owner, :user, email
          end

          ##
          # Add owner access to a group.
          def add_owner_group email
            add_access_role_scope_value :owner, :group, email
          end

          ##
          # Add owner access to a domain.
          def add_owner_domain domain
            add_access_role_scope_value :owner, :domain, domain
          end

          ##
          # Add owner access to a special group.
          # Accepted values are `owners`, `writers`, `readers`, and `all`.
          def add_owner_special group
            add_access_role_scope_value :owner, :special, group
          end

          ##
          # Remove reader access from a user.
          def remove_reader_user email
            remove_access_role_scope_value :reader, :user, email
          end

          ##
          # Remove reader access from a group.
          def remove_reader_group email
            remove_access_role_scope_value :reader, :group, email
          end

          ##
          # Remove reader access from a domain.
          def remove_reader_domain domain
            remove_access_role_scope_value :reader, :domain, domain
          end

          ##
          # Remove reader access from a special group.
          # Accepted values are `owners`, `writers`, `readers`, and `all`.
          def remove_reader_special group
            remove_access_role_scope_value :reader, :special, group
          end

          ##
          # Remove reader access from a view.
          # The view can be a Google::Cloud::Bigquery::View object,
          # or a string identifier as specified by the
          # [Query
          # Reference](https://cloud.google.com/bigquery/query-reference#from):
          # +project_name:datasetId.tableId+.
          def remove_reader_view view
            remove_access_view view
          end

          ##
          # Remove writer access from a user.
          def remove_writer_user email
            remove_access_role_scope_value :writer, :user, email
          end

          ##
          # Remove writer access from a group.
          def remove_writer_group email
            remove_access_role_scope_value :writer, :group, email
          end

          ##
          # Remove writer access from a domain.
          def remove_writer_domain domain
            remove_access_role_scope_value :writer, :domain, domain
          end

          ##
          # Remove writer access from a special group.
          # Accepted values are `owners`, `writers`, `readers`, and `all`.
          def remove_writer_special group
            remove_access_role_scope_value :writer, :special, group
          end

          ##
          # Remove owner access from a user.
          def remove_owner_user email
            remove_access_role_scope_value :owner, :user, email
          end

          ##
          # Remove owner access from a group.
          def remove_owner_group email
            remove_access_role_scope_value :owner, :group, email
          end

          ##
          # Remove owner access from a domain.
          def remove_owner_domain domain
            remove_access_role_scope_value :owner, :domain, domain
          end

          ##
          # Remove owner access from a special group.
          # Accepted values are `owners`, `writers`, `readers`, and `all`.
          def remove_owner_special group
            remove_access_role_scope_value :owner, :special, group
          end

          ##
          # Checks reader access for a user.
          def reader_user? email
            lookup_access_role_scope_value :reader, :user, email
          end

          ##
          # Checks reader access for a group.
          def reader_group? email
            lookup_access_role_scope_value :reader, :group, email
          end

          ##
          # Checks reader access for a domain.
          def reader_domain? domain
            lookup_access_role_scope_value :reader, :domain, domain
          end

          ##
          # Checks reader access for a special group.
          # Accepted values are `owners`, `writers`, `readers`, and `all`.
          def reader_special? group
            lookup_access_role_scope_value :reader, :special, group
          end

          ##
          # Checks reader access for a view.
          # The view can be a Google::Cloud::Bigquery::View object,
          # or a string identifier as specified by the
          # [Query
          # Reference](https://cloud.google.com/bigquery/query-reference#from):
          # +project_name:datasetId.tableId+.
          def reader_view? view
            lookup_access_view view
          end

          ##
          # Checks writer access for a user.
          def writer_user? email
            lookup_access_role_scope_value :writer, :user, email
          end

          ##
          # Checks writer access for a group.
          def writer_group? email
            lookup_access_role_scope_value :writer, :group, email
          end

          ##
          # Checks writer access for a domain.
          def writer_domain? domain
            lookup_access_role_scope_value :writer, :domain, domain
          end

          ##
          # Checks writer access for a special group.
          # Accepted values are `owners`, `writers`, `readers`, and `all`.
          def writer_special? group
            lookup_access_role_scope_value :writer, :special, group
          end

          ##
          # Checks owner access for a user.
          def owner_user? email
            lookup_access_role_scope_value :owner, :user, email
          end

          ##
          # Checks owner access for a group.
          def owner_group? email
            lookup_access_role_scope_value :owner, :group, email
          end

          ##
          # Checks owner access for a domain.
          def owner_domain? domain
            lookup_access_role_scope_value :owner, :domain, domain
          end

          ##
          # Checks owner access for a special group.
          # Accepted values are `owners`, `writers`, `readers`, and `all`.
          def owner_special? group
            lookup_access_role_scope_value :owner, :special, group
          end

          # @private
          def self.from_gapi gapi
            rules = Array gapi.access
            new.tap do |s|
              s.instance_variable_set :@rules, rules
              s.instance_variable_set :@original_rules_hashes,
                                      rules.map(&:to_h)
              s.instance_variable_set :@dataset_reference,
                                      gapi.dataset_reference
            end
          end

          # @private
          def to_gapi
            @rules
          end

          protected

          # @private
          def validate_role role
            good_role = ROLES[role.to_s]
            if good_role.nil?
              fail ArgumentError "Unable to determine role for #{role}"
            end
            good_role
          end

          # @private
          def validate_scope scope
            good_scope = SCOPES[scope.to_s]
            if good_scope.nil?
              fail ArgumentError "Unable to determine scope for #{scope}"
            end
            good_scope
          end

          # @private
          def validate_special_group value
            good_value = GROUPS[value.to_s]
            return good_value unless good_value.nil?
            value
          end

          # @private
          def validate_view view
            if view.respond_to? :table_ref
              view.table_ref
            else
              Service.table_ref_from_s view, @dataset_reference
            end
          end

          # @private
          def add_access_role_scope_value role, scope, value
            role = validate_role(role)
            scope = validate_scope scope
            # If scope is special group, make sure value is in the list
            value = validate_special_group(value) if scope == :special_group
            # Remove any rules of this scope and value
            @rules.reject!(&find_by_scope_and_value(scope, value))
            # Add new rule for this role, scope, and value
            opts = { role: role, scope => value }
            @rules << Google::Apis::BigqueryV2::Dataset::Access.new(opts)
          end

          # @private
          def add_access_view value
            # scope is view, make sure value is in the right format
            value = validate_view(value)
            # Remove existing view rule, if any
            @rules.reject!(&find_view(value))
            # Add new rule for this role, scope, and value
            opts = { view: value }
            @rules << Google::Apis::BigqueryV2::Dataset::Access.new(opts)
          end

          # @private
          def remove_access_role_scope_value role, scope, value
            role = validate_role(role)
            scope = validate_scope scope
            # If scope is special group, make sure value is in the list
            value = validate_special_group(value) if scope == :special_group
            # Remove any rules of this role, scope, and value
            @rules.reject!(
              &find_by_role_and_scope_and_value(role, scope, value))
          end

          # @private
          def remove_access_view value
            # scope is view, make sure value is in the right format
            value = validate_view(value)
            # Remove existing view rule, if any
            @rules.reject!(&find_view(value))
          end

          # @private
          def lookup_access_role_scope_value role, scope, value
            role = validate_role(role)
            scope = validate_scope scope
            # If scope is special group, make sure value is in the list
            value = validate_special_group(value) if scope == :special_group
            # Detect any rules of this role, scope, and value
            !(!@rules.detect(
              &find_by_role_and_scope_and_value(role, scope, value)))
          end

          # @private
          def lookup_access_view value
            # scope is view, make sure value is in the right format
            value = validate_view(value)
            # Detect view rule, if any
            !(!@rules.detect(&find_view(value)))
          end

          # @private
          def find_by_role_and_scope_and_value role, scope, value
            lambda do |a|
              h = a.to_h
              h[:role] == role && h[scope] == value
            end
          end

          # @private
          def find_by_scope_and_value scope, value
            lambda do |a|
              h = a.to_h
              h[scope] == value
            end
          end

          # @private
          def find_view value
            lambda do |a|
              h = a.to_h
              h[:view].to_h == value.to_h
            end
          end
        end
      end
    end
  end
end


text:
<!--

-->
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:p="http://www.springframework.org/schema/p"
    xsi:schemaLocation="http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">

    <bean id="IacucProtocol" parent="IacucProtocol-parentBean" />
    <bean id="IacucProtocol-parentBean" abstract="true" parent="BusinessObjectEntry">
        <property name="businessObjectClass" value="org.kuali.kra.iacuc.IacucProtocol" />
        <property name="objectLabel" value="IACUC Protocol" />
        <property name="inquiryDefinition" >
            <ref bean="IacucProtocol-inquiryDefinition" />
        </property>
        <property name="lookupDefinition" >
            <ref bean="IacucProtocol-lookupDefinition" />
        </property>
        <property name="titleAttribute" value="protocolNumber" />

        <property name="attributes" >
            <list>
                <ref bean="IacucProtocol-protocolId" />
                <ref bean="IacucProtocol-protocolNumber" />
                <ref bean="IacucProtocol-sequenceNumber" />
                <ref bean="IacucProtocol-versionNumber" />
                <ref bean="IacucProtocol-protocolTypeCode" />
                <ref bean="IacucProtocol-protocolProjectTypeCode" />
                <ref bean="IacucProtocol-protocolStatusCode" />
                <ref bean="IacucProtocol-leadUnitNumber" />
				<ref bean="IacucProtocol-leadUnitName" />
				<ref bean="IacucProtocol-principalInvestigatorId" />
                <ref bean="IacucProtocol-title" />
                <ref bean="IacucProtocol-description" />
                <ref bean="IacucProtocol-initialSubmissionDate" />
                <ref bean="IacucProtocol-approvalDate" />
                <ref bean="IacucProtocol-expirationDate" />
                <ref bean="IacucProtocol-fdaApplicationNumber" />
                <ref bean="IacucProtocol-referenceNumber1" />
                <ref bean="IacucProtocol-referenceNumber2" />
                <ref bean="IacucProtocol-isBillable" />
                <ref bean="IacucProtocol-specialReviewIndicator" />
                <ref bean="IacucProtocol-keyStudyPersonIndicator" />
                <ref bean="IacucProtocol-fundingSourceIndicator" />
                <ref bean="IacucProtocol-correspondentIndicator" />
                <ref bean="IacucProtocol-referenceIndicator" />
                <ref bean="IacucProtocol-layStatement1" />
                <ref bean="IacucProtocol-layStatement2" />
                <ref bean="IacucProtocol-lastApprovalDate" />
                <ref bean="IacucProtocol-overviewTimeline" />
                <ref bean="IacucProtocol-speciesStudyGroupIndicator" />
                <ref bean="IacucProtocol-alternativeSearchIndicator" />
                <ref bean="IacucProtocol-scientificJustifIndicator" />
                <ref bean="IacucProtocol-performingOrganizationId" />
                <ref bean="IacucProtocol-researchAreaCode" />
				<ref bean="IacucProtocol-active" />
				<ref bean="IacucProtocol-protocolType.description" />
				<ref bean="IacucProtocol-protocolStatus.description" />
				<ref bean="IacucProtocol-investigator" />
				<ref bean="IacucProtocol-keyPerson" />
				<ref bean="IacucProtocol-fundingSource" />
				<ref bean="IacucProtocol-speciesCode" />
				<ref bean="IacucProtocol-exceptionCategoryCode" />
				<ref bean="IacucProtocol-lookupProtocolPersonId" />
				<ref bean="IacucProtocol-initiatorLastUpdated" />
				<ref bean="IacucProtocol-protocolSubmissionStatus" />
            </list>
        </property>
    </bean>

    <!-- Attribute Definitions -->

    <bean id="IacucProtocol-protocolId" parent="IacucProtocol-protocolId-parentBean" />
    <bean id="IacucProtocol-protocolId-parentBean" abstract="true" parent="AttributeDefinition" >
        <property name="name" value="protocolId" />
        <property name="forceUppercase" value="false" />
        <property name="label" value="Ac Protocol Id" />
        <property name="shortLabel" value="Ac Protocol Id" />
        <property name="maxLength" value="22" />
        <property name="validationPattern" >
            <bean parent="NumericValidationPattern" />
        </property>
        <property name="control" >
            <bean parent="TextControlDefinition"
                p:size="10" />
        </property>
        <property name="summary" value="Ac Protocol Id" />
        <property name="description" value="Ac Protocol Id" />
    </bean>

    <bean id="IacucProtocol-researchAreaCode" parent="IacucProtocol-researchAreaCode-parentBean" />
  	<bean id="IacucProtocol-researchAreaCode-parentBean" abstract="true" parent="ResearchArea-researchAreaCode">
    	<property name="label" value="Area of Research" />
    	<property name="shortLabel" value="Area of Research" />
  	</bean>

    <bean id="IacucProtocol-protocolNumber" parent="IacucProtocol-protocolNumber-parentBean" />
	<bean id="IacucProtocol-protocolNumber-parentBean" abstract="true" parent="AttributeDefinition" >
		<property name="name" value="protocolNumber" />
		<property name="forceUppercase" value="false" />
		<property name="label" value="Protocol #" />
		<property name="shortLabel" value="Protocol #" />
		<property name="maxLength" value="20" />
		<property name="validationPattern" >
			<bean parent="AlphaNumericValidationPattern" />
		</property>
		<property name="control" >
			<bean parent="TextControlDefinition"
				p:size="10" />
		</property>
		<property name="summary" value="Protocol Number" />
		<property name="description" value="Protocol Number" />
	</bean>

    <bean id="IacucProtocol-sequenceNumber" parent="IacucProtocol-sequenceNumber-parentBean" />
    <bean id="IacucProtocol-sequenceNumber-parentBean" abstract="true" parent="AttributeDefinition" >
        <property name="name" value="sequenceNumber" />
        <property name="forceUppercase" value="false" />
        <property name="label" value="Sequence Number" />
        <property name="shortLabel" value="Sequence Number" />
        <property name="maxLength" value="22" />
        <property name="validationPattern" >
            <bean parent="NumericValidationPattern" />
        </property>
        <property name="control" >
            <bean parent="TextControlDefinition"
                p:size="10" />
        </property>
        <property name="summary" value="Sequence Number" />
        <property name="description" value="Sequence Number" />
    </bean>

    <bean id="IacucProtocol-protocolTypeCode" parent="IacucProtocol-protocolTypeCode-parentBean" />
    <bean id="IacucProtocol-protocolTypeCode-parentBean" abstract="true" parent="AttributeDefinition" >
        <property name="name" value="protocolTypeCode" />
        <property name="forceUppercase" value="false" />
        <property name="label" value="Protocol Type" />
        <property name="shortLabel" value="Protocol Type" />
        <property name="maxLength" value="22" />
        <property name="validationPattern" >
            <bean parent="AlphaNumericValidationPattern" />
        </property>
        <property name="required" value="true" />
        <property name="control" >
      		<bean parent="SelectControlDefinition"
            	p:businessObjectClass="org.kuali.kra.iacuc.protocol.IacucProtocolType"
            	p:valuesFinderClass="org.kuali.kra.lookup.keyvalue.ExtendedPersistableBusinessObjectValuesFinder"
            	p:includeKeyInLabel="false"
            	p:includeBlankRow="false"
            	p:keyAttribute="protocolTypeCode"
            	p:labelAttribute="description" />
    	</property>
        <property name="summary" value="Protocol Type Code" />
        <property name="description" value="Protocol Type Code" />
    </bean>

    <bean id="IacucProtocol-protocolStatusCode" parent="IacucProtocol-protocolStatusCode-parentBean" />
	<bean id="IacucProtocol-protocolStatusCode-parentBean" abstract="true" parent="AttributeDefinition" >
		<property name="name" value="protocolStatusCode" />
		<property name="forceUppercase" value="false" />
		<property name="label" value="Protocol Status" />
		<property name="shortLabel" value="Protocol Status" />
		<property name="maxLength" value="3" />
		<property name="validationPattern" >
			<bean parent="AlphaNumericValidationPattern" />
		</property>
    	<property name="control" >
      		<bean parent="SelectControlDefinition"
            	p:businessObjectClass="org.kuali.kra.iacuc.actions.IacucProtocolStatus"
            	p:valuesFinderClass="org.kuali.kra.lookup.keyvalue.ExtendedPersistableBusinessObjectValuesFinder"
            	p:includeKeyInLabel="false"
            	p:includeBlankRow="false"
            	p:keyAttribute="protocolStatusCode"
            	p:labelAttribute="description" />
    	</property>
		<property name="summary" value="Protocol Status Code" />
		<property name="description" value="Protocol Status Code" />
	</bean>

    <bean id="IacucProtocol-leadUnitNumber" parent="IacucProtocol-leadUnitNumber-parentBean" />
	<bean id="IacucProtocol-leadUnitNumber-parentBean" abstract="true" parent="AttributeDefinition" >
		<property name="name" value="leadUnitNumber" />
		<property name="required" value="true" />
		<property name="forceUppercase" value="false" />
		<property name="label" value="Lead Unit" />
		<property name="shortLabel" value="Lead Unit" />
		<property name="maxLength" value="8" />
		<property name="validationPattern" >
			<bean parent="AnyCharacterValidationPattern" />
		</property>
		<property name="control" >
			<bean parent="TextControlDefinition"
				p:size="8" />
		</property>
		<property name="summary" value="Lead Unit" />
		<property name="description" value="The protocol's fixed home unit that will be used for routing and business rule purposes." />
	</bean>

	<bean id="IacucProtocol-principalInvestigatorId" parent="IacucProtocol-principalInvestigatorId-parentBean" />
	<bean id="IacucProtocol-principalInvestigatorId-parentBean" abstract="true" parent="AttributeDefinition" >
		<property name="name" value="principalInvestigatorId" />
    	<property name="required" value="true" />
		<property name="forceUppercase" value="false" />
		<property name="label" value="Principal Investigator" />
		<property name="shortLabel" value="Principal Investigator" />
		<property name="maxLength" value="40" />
		<property name="validationPattern" >
			<bean parent="NumericValidationPattern" />
		</property>
		<property name="control" >
			<bean parent="TextControlDefinition"
				p:size="9" />
		</property>
		<property name="summary" value="Principal Investigator" />
		<property name="description" value="The protocol's principal investigator Id number." />
	</bean>

    <bean id="IacucProtocol-title" parent="IacucProtocol-title-parentBean" />
    <bean id="IacucProtocol-title-parentBean" abstract="true" parent="AttributeDefinition" >
        <property name="name" value="title" />
        <property name="forceUppercase" value="false" />
        <property name="label" value="Title" />
        <property name="shortLabel" value="Title" />
        <property name="maxLength" value="2000" />
		<property name="validationPattern" >
      		<bean parent="AnyCharacterValidationPattern"
            	p:allowWhitespace="true" />
		</property>
		<property name="control" >
      		<bean parent="TextareaControlDefinition"
            	p:rows="4"
            	p:cols="40" />
		</property>
        <property name="summary" value="Title" />
        <property name="description" value="Title" />
        <property name="required" value="true" />
    </bean>

    <bean id="IacucProtocol-description" parent="IacucProtocol-description-parentBean" />
	<bean id="IacucProtocol-description-parentBean" abstract="true" parent="AttributeDefinition" >
		<property name="name" value="description" />
		<property name="forceUppercase" value="false" />
		<property name="label" value="Summary/Keywords" />
		<property name="shortLabel" value="Description" />
		<property name="maxLength" value="2000" />
		<property name="validationPattern" >
      		<bean parent="AnyCharacterValidationPattern"
            	p:allowWhitespace="true" />
		</property>
		<property name="control" >
      		<bean parent="TextareaControlDefinition"
            	p:rows="3"
            	p:cols="100"/> <!-- p:cols="38"/> -->
		</property>
		<property name="summary" value="Description" />
		<property name="description" value="Description" />
	</bean>

    <bean id="IacucProtocol-initialSubmissionDate" parent="IacucProtocol-initialSubmissionDate-parentBean" />
    <bean id="IacucProtocol-initialSubmissionDate-parentBean" abstract="true" parent="KraAttributeReferenceDummy-genericDate" >
        <property name="name" value="initialSubmissionDate" />
        <property name="label" value="Initial Submission Date" />
        <property name="shortLabel" value="Initial Submission Date" />
        <property name="summary" value="Initial Submission Date" />
        <property name="description" value="Initial Submission Date" />
        <property name="validationPattern" >
            <bean parent="DateValidationPattern" />
        </property>
    </bean>

    <bean id="IacucProtocol-approvalDate" parent="IacucProtocol-approvalDate-parentBean" />
    <bean id="IacucProtocol-approvalDate-parentBean" abstract="true" parent="KraAttributeReferenceDummy-genericDate" >
		<property name="name" value="approvalDate" />
		<property name="label" value="Approval Date" />
		<property name="shortLabel" value="Approval Date" />
		<property name="summary" value="Approval Date" />
		<property name="description" value="Approval Date" />
		<property name="validationPattern" >
			<bean parent="DateValidationPattern" />
		</property>
	</bean>

    <bean id="IacucProtocol-expirationDate" parent="IacucProtocol-expirationDate-parentBean" />
    <bean id="IacucProtocol-expirationDate-parentBean" abstract="true" parent="KraAttributeReferenceDummy-genericDate" >
        <property name="name" value="expirationDate" />
        <property name="label" value="Expiration Date" />
        <property name="shortLabel" value="Expiration Date" />
        <property name="summary" value="Expiration Date" />
        <property name="description" value="Expiration Date" />
    </bean>

    <bean id="IacucProtocol-fdaApplicationNumber" parent="IacucProtocol-fdaApplicationNumber-parentBean" />
    <bean id="IacucProtocol-fdaApplicationNumber-parentBean" abstract="true" parent="AttributeDefinition" >
        <property name="name" value="fdaApplicationNumber" />
        <property name="forceUppercase" value="false" />
        <property name="label" value="Fda Application Number" />
        <property name="shortLabel" value="Fda Application Number" />
        <property name="maxLength" value="15" />
        <property name="validationPattern" >
            <bean parent="AlphaNumericValidationPattern" />
        </property>
        <property name="control" >
            <bean parent="TextControlDefinition"
                p:size="10" />
        </property>
        <property name="summary" value="Fda Application Number" />
        <property name="description" value="Fda Application Number" />
    </bean>

    <bean id="IacucProtocol-protocolProjectTypeCode" parent="IacucProtocol-protocolProjectTypeCode-parentBean" />
    <bean id="IacucProtocol-protocolProjectTypeCode-parentBean" abstract="true" parent="AttributeDefinition" >
    	<property name="name" value="protocolProjectTypeCode" />
		<property name="forceUppercase" value="false" />
		<property name="label" value="Protocol Project Type" />
		<property name="shortLabel" value="Protocol Project Type" />
		<property name="maxLength" value="3" />
		<property name="validationPattern" >
			<bean parent="AlphaNumericValidationPattern" />
		</property>
    	<property name="required" value="false" />
    	<property name="control" >
      		<bean parent="SelectControlDefinition"
            	p:businessObjectClass="org.kuali.kra.iacuc.protocol.IacucProtocolProjectType"
            	p:valuesFinderClass="org.kuali.kra.lookup.keyvalue.ExtendedPersistableBusinessObjectValuesFinder"
            	p:includeKeyInLabel="false"
            	p:includeBlankRow="false"
            	p:keyAttribute="projectTypeCode"
            	p:labelAttribute="description" />
    	</property>
    	<property name="summary" value="Protocol Project Type Code" />
        <property name="description" value="Protocol Project Type Code" />
    </bean>

    <bean id="IacucProtocol-referenceNumber1" parent="IacucProtocol-referenceNumber1-parentBean" />
    <bean id="IacucProtocol-referenceNumber1-parentBean" abstract="true" parent="AttributeDefinition" >
        <property name="name" value="referenceNumber1" />
        <property name="forceUppercase" value="false" />
        <property name="label" value="Reference Number 1" />
        <property name="shortLabel" value="Reference Number 1" />
        <property name="maxLength" value="50" />
		<property name="validationPattern" >
      		<bean parent="AnyCharacterValidationPattern"
            	p:allowWhitespace="true" />
		</property>
        <property name="control" >
            <bean parent="TextControlDefinition"
                p:size="46" />
        </property>
        <property name="summary" value="Reference Number 1" />
        <property name="description" value="Reference Number 1" />
    </bean>

    <bean id="IacucProtocol-referenceNumber2" parent="IacucProtocol-referenceNumber2-parentBean" />
    <bean id="IacucProtocol-referenceNumber2-parentBean" abstract="true" parent="AttributeDefinition" >
        <property name="name" value="referenceNumber2" />
        <property name="forceUppercase" value="false" />
        <property name="label" value="Reference Number 2" />
        <property name="shortLabel" value="Reference Number 2" />
        <property name="maxLength" value="50" />
		<property name="validationPattern" >
      		<bean parent="AnyCharacterValidationPattern"
            	p:allowWhitespace="true" />
		</property>
        <property name="control" >
            <bean parent="TextControlDefinition"
                p:size="46" />
        </property>
        <property name="summary" value="Reference Number 2" />
        <property name="description" value="Reference Number 2" />
    </bean>

    <bean id="IacucProtocol-isBillable" parent="IacucProtocol-isBillable-parentBean" />
    <bean id="IacucProtocol-isBillable-parentBean" abstract="true" parent="AttributeReferenceDummy-genericBoolean" >
        <property name="name" value="isBillable" />
        <property name="label" value="Is Billable" />
        <property name="shortLabel" value="Is Billable" />
        <property name="summary" value="Is Billable" />
        <property name="description" value="Is Billable" />
    </bean>

    <bean id="IacucProtocol-specialReviewIndicator" parent="IacucProtocol-specialReviewIndicator-parentBean" />
    <bean id="IacucProtocol-specialReviewIndicator-parentBean" abstract="true" parent="AttributeDefinition" >
        <property name="name" value="specialReviewIndicator" />
        <property name="forceUppercase" value="false" />
        <property name="label" value="Special Review Indicator" />
        <property name="shortLabel" value="Special Review Indicator" />
        <property name="maxLength" value="2" />
        <property name="validationPattern" >
            <bean parent="AlphaNumericValidationPattern" />
        </property>
        <property name="control" >
            <bean parent="TextControlDefinition"
                p:size="5" />
        </property>
        <property name="summary" value="Special Review Indicator" />
        <property name="description" value="Special Review Indicator" />
    </bean>

    <bean id="IacucProtocol-keyStudyPersonIndicator" parent="IacucProtocol-keyStudyPersonIndicator-parentBean" />
    <bean id="IacucProtocol-keyStudyPersonIndicator-parentBean" abstract="true" parent="AttributeDefinition" >
        <property name="name" value="keyStudyPersonIndicator" />
        <property name="forceUppercase" value="false" />
        <property name="label" value="Key Study Person Indicator" />
        <property name="shortLabel" value="Key Study Person Indicator" />
        <property name="maxLength" value="2" />
        <property name="validationPattern" >
            <bean parent="AlphaNumericValidationPattern" />
        </property>
        <property name="control" >
            <bean parent="TextControlDefinition"
                p:size="5" />
        </property>
        <property name="summary" value="Key Study Person Indicator" />
        <property name="description" value="Key Study Person Indicator" />
    </bean>

    <bean id="IacucProtocol-fundingSourceIndicator" parent="IacucProtocol-fundingSourceIndicator-parentBean" />
    <bean id="IacucProtocol-fundingSourceIndicator-parentBean" abstract="true" parent="AttributeDefinition" >
        <property name="name" value="fundingSourceIndicator" />
        <property name="forceUppercase" value="false" />
        <property name="label" value="Funding Source Indicator" />
        <property name="shortLabel" value="Funding Source Indicator" />
        <property name="maxLength" value="2" />
        <property name="validationPattern" >
            <bean parent="AlphaNumericValidationPattern" />
        </property>
        <property name="control" >
            <bean parent="TextControlDefinition"
                p:size="5" />
        </property>
        <property name="summary" value="Funding Source Indicator" />
        <property name="description" value="Funding Source Indicator" />
    </bean>

    <bean id="IacucProtocol-correspondentIndicator" parent="IacucProtocol-correspondentIndicator-parentBean" />
    <bean id="IacucProtocol-correspondentIndicator-parentBean" abstract="true" parent="AttributeDefinition" >
        <property name="name" value="correspondentIndicator" />
        <property name="forceUppercase" value="false" />
        <property name="label" value="Correspondent Indicator" />
        <property name="shortLabel" value="Correspondent Indicator" />
        <property name="maxLength" value="2" />
        <property name="validationPattern" >
            <bean parent="AlphaNumericValidationPattern" />
        </property>
        <property name="control" >
            <bean parent="TextControlDefinition"
                p:size="5" />
        </property>
        <property name="summary" value="Correspondent Indicator" />
        <property name="description" value="Correspondent Indicator" />
    </bean>

    <bean id="IacucProtocol-referenceIndicator" parent="IacucProtocol-referenceIndicator-parentBean" />
    <bean id="IacucProtocol-referenceIndicator-parentBean" abstract="true" parent="AttributeDefinition" >
        <property name="name" value="referenceIndicator" />
        <property name="forceUppercase" value="false" />
        <property name="label" value="Reference Indicator" />
        <property name="shortLabel" value="Reference Indicator" />
        <property name="maxLength" value="2" />
        <property name="validationPattern" >
            <bean parent="AlphaNumericValidationPattern" />
        </property>
        <property name="control" >
            <bean parent="TextControlDefinition"
                p:size="5" />
        </property>
        <property name="summary" value="Reference Indicator" />
        <property name="description" value="Reference Indicator" />
    </bean>

    <bean id="IacucProtocol-layStatement1" parent="IacucProtocol-layStatement1-parentBean" />
    <bean id="IacucProtocol-layStatement1-parentBean" abstract="true" parent="AttributeDefinition" >
        <property name="name" value="layStatement1" />
        <property name="forceUppercase" value="false" />
        <property name="label" value="Lay Statement 1" />
        <property name="shortLabel" value="Lay Statement 1" />
        <property name="maxLength" value="2000" />
        <property name="validationPattern" >
            <bean parent="AnyCharacterValidationPattern"
            	p:allowWhitespace="true" />
        </property>
        <property name="required" value="true" />
        <property name="control" >
      		<bean parent="TextareaControlDefinition"
            	p:rows="4"
            	p:cols="40" />
		</property>
        <property name="summary" value="Lay Statement 1" />
        <property name="description" value="Lay Statement 1" />
    </bean>

    <bean id="IacucProtocol-layStatement2" parent="IacucProtocol-layStatement2-parentBean" />
    <bean id="IacucProtocol-layStatement2-parentBean" abstract="true" parent="AttributeDefinition" >
        <property name="name" value="layStatement2" />
        <property name="forceUppercase" value="false" />
        <property name="label" value="Lay Statement 2" />
        <property name="shortLabel" value="Lay Statement 2" />
        <property name="maxLength" value="2000" />
        <property name="validationPattern" >
            <bean parent="AnyCharacterValidationPattern"
            	p:allowWhitespace="true" />
        </property>
        <property name="control" >
      		<bean parent="TextareaControlDefinition"
            	p:rows="4"
            	p:cols="40" />
		</property>
        <property name="summary" value="Lay Statement 2" />
        <property name="description" value="Lay Statement 2" />
    </bean>

    <bean id="IacucProtocol-lastApprovalDate" parent="IacucProtocol-lastApprovalDate-parentBean" />
    <bean id="IacucProtocol-lastApprovalDate-parentBean" abstract="true" parent="KraAttributeReferenceDummy-genericDate" >
        <property name="name" value="lastApprovalDate" />
        <property name="label" value="Last Approval Date" />
        <property name="shortLabel" value="Last Approval Date" />
        <property name="summary" value="Last Approval Date" />
        <property name="description" value="Last Approval Date" />
    </bean>

    <bean id="IacucProtocol-overviewTimeline" parent="IacucProtocol-overviewTimeline-parentBean" />
    <bean id="IacucProtocol-overviewTimeline-parentBean" abstract="true" parent="AttributeDefinition" >
        <property name="name" value="overviewTimeline" />
        <property name="forceUppercase" value="false" />
        <property name="label" value="Overview and Timeline" />
        <property name="shortLabel" value="Overview and Timeline" />
        <property name="maxLength" value="2000" />
        <property name="validationPattern" >
            <bean parent="AnyCharacterValidationPattern" p:allowWhitespace="true" />
        </property>
		<property name="control" >
      		<bean parent="TextareaControlDefinition"
            	p:rows="3"
            	p:cols="200" />
		</property>
        <property name="summary" value="Overview and Timeline" />
        <property name="description" value="Overview and Timeline" />
    </bean>

    <bean id="IacucProtocol-speciesStudyGroupIndicator" parent="IacucProtocol-speciesStudyGroupIndicator-parentBean" />
    <bean id="IacucProtocol-speciesStudyGroupIndicator-parentBean" abstract="true" parent="AttributeDefinition" >
        <property name="name" value="speciesStudyGroupIndicator" />
        <property name="forceUppercase" value="false" />
        <property name="label" value="Species Study Group Indicator" />
        <property name="shortLabel" value="Species Study Group Indicator" />
        <property name="maxLength" value="2" />
        <property name="validationPattern" >
            <bean parent="AlphaNumericValidationPattern" />
        </property>
        <property name="control" >
            <bean parent="TextControlDefinition"
                p:size="5" />
        </property>
        <property name="summary" value="Species Study Group Indicator" />
        <property name="description" value="Species Study Group Indicator" />
    </bean>

    <bean id="IacucProtocol-alternativeSearchIndicator" parent="IacucProtocol-alternativeSearchIndicator-parentBean" />
    <bean id="IacucProtocol-alternativeSearchIndicator-parentBean" abstract="true" parent="AttributeDefinition" >
        <property name="name" value="alternativeSearchIndicator" />
        <property name="forceUppercase" value="false" />
        <property name="label" value="Alternative Search Indicator" />
        <property name="shortLabel" value="Alternative Search Indicator" />
        <property name="maxLength" value="2" />
        <property name="validationPattern" >
            <bean parent="AlphaNumericValidationPattern" />
        </property>
        <property name="control" >
            <bean parent="TextControlDefinition"
                p:size="5" />
        </property>
        <property name="summary" value="Alternative Search Indicator" />
        <property name="description" value="Alternative Search Indicator" />
    </bean>

    <bean id="IacucProtocol-scientificJustifIndicator" parent="IacucProtocol-scientificJustifIndicator-parentBean" />
    <bean id="IacucProtocol-scientificJustifIndicator-parentBean" abstract="true" parent="AttributeDefinition" >
        <property name="name" value="scientificJustifIndicator" />
        <property name="forceUppercase" value="false" />
        <property name="label" value="Scientific Justif Indicator" />
        <property name="shortLabel" value="Scientific Justif Indicator" />
        <property name="maxLength" value="2" />
        <property name="validationPattern" >
            <bean parent="AlphaNumericValidationPattern" />
        </property>
        <property name="control" >
            <bean parent="TextControlDefinition"
                p:size="5" />
        </property>
        <property name="summary" value="Scientific Justif Indicator" />
        <property name="description" value="Scientific Justif Indicator" />
    </bean>

    <bean id="IacucProtocol-versionNumber" parent="IacucProtocol-versionNumber-parentBean" />
    <bean id="IacucProtocol-versionNumber-parentBean" abstract="true" parent="AttributeReferenceDummy-versionNumber">
    </bean>

    <bean id="IacucProtocol-leadUnitName" parent="IacucProtocol-leadUnitName-parentBean" />
	<bean id="IacucProtocol-leadUnitName-parentBean" abstract="true" parent="AttributeDefinition" >
		<property name="name" value="leadUnitName" />
		<property name="required" value="false" />
		<property name="forceUppercase" value="false" />
		<property name="label" value="Lead Unit Name" />
		<property name="shortLabel" value="Lead Unit Name" />
        <property name="maxLength" value="60" />
        <property name="validationPattern" >
           <bean parent="AnyCharacterValidationPattern"
                 p:allowWhitespace="true" />
        </property>
		<property name="control" >
			<bean parent="TextControlDefinition"
				p:size="10" />
		</property>
		<property name="summary" value="Lead Unit Name" />
		<property name="description" value="The protocol's fixed home unit that will be used for routing and business rule purposes." />
	</bean>

 	<bean id="IacucProtocol-performingOrganizationId" parent="IacucProtocol-performingOrganizationId-parentBean" />
	<bean id="IacucProtocol-performingOrganizationId-parentBean" abstract="true" parent="AttributeDefinition" >
		<property name="name" value="performingOrganizationId" />
		<property name="forceUppercase" value="false" />
		<property name="label" value="Performing Organization" />
		<property name="shortLabel" value="Org Id" />
		<property name="maxLength" value="8" />
		<property name="validationPattern" >
			<bean parent="AlphaNumericValidationPattern" />
		</property>
		<property name="required" value="false" />
		<property name="control" >
			<bean parent="TextControlDefinition"
				p:size="10" />
		</property>
		<property name="summary" value="Performing Organization Id" />
		<property name="description" value="Performing Organization Id" />
	</bean>

  <bean id="IacucProtocol-protocolStatus.description" parent="IacucProtocol-protocolStatus.description-parentBean" />
  <bean id="IacucProtocol-protocolStatus.description-parentBean" abstract="true" parent="ProtocolStatus-description">
    <property name="name" value="protocolStatus.description" />
    <property name="required" value="false"/>
    <property name="label" value="Protocol Status" />
    <property name="shortLabel" value="Protocol Status" />
  </bean>

	<bean id="IacucProtocol-active" parent="IacucProtocol-active-parentBean" />
	<bean id="IacucProtocol-active-parentBean" abstract="true" parent="AttributeReferenceDummy-genericBoolean">
		<property name="name" value="active" />
		<property name="label" value="Active" />
		<property name="shortLabel" value="Active" />
		<property name="summary" value="Active" />
		<property name="description" value="Active" />
	</bean>

  <bean id="IacucProtocol-protocolType.description" parent="IacucProtocol-protocolType.description-parentBean" />
  <bean id="IacucProtocol-protocolType.description-parentBean" abstract="true" parent="ProtocolType-description">
    <property name="name" value="protocolType.description" />
    <property name="required" value="false"/>
    <property name="label" value="Protocol Type" />
    <property name="shortLabel" value="Protocol Type" />
  </bean>

 	<bean id="IacucProtocol-investigator" parent="IacucProtocol-investigator-parentBean" />
	<bean id="IacucProtocol-investigator-parentBean" abstract="true" parent="AttributeDefinition" >
		<property name="name" value="investigator" />
		<property name="forceUppercase" value="false" />
		<property name="label" value="Investigator" />
		<property name="shortLabel" value="Investigator" />
		<property name="maxLength" value="60" />
		<property name="validationPattern" >
      		<bean parent="AnyCharacterValidationPattern"
            	p:allowWhitespace="true" />
		</property>
		<property name="control" >
			<bean parent="TextControlDefinition"
				p:size="20" />
		</property>
		<property name="summary" value="Investigator" />
		<property name="description" value="Investigator" />
	</bean>

 	<bean id="IacucProtocol-keyPerson" parent="IacucProtocol-keyPerson-parentBean" />
	<bean id="IacucProtocol-keyPerson-parentBean" abstract="true" parent="AttributeDefinition" >
		<property name="name" value="keyPerson" />
		<property name="forceUppercase" value="false" />
		<property name="label" value="Key Person" />
		<property name="shortLabel" value="Person" />
		<property name="maxLength" value="60" />
		<property name="validationPattern" >
      		<bean parent="AnyCharacterValidationPattern"
            	p:allowWhitespace="true" />
		</property>
		<property name="control" >
			<bean parent="TextControlDefinition"
				p:size="20" />
		</property>
		<property name="summary" value="Person" />
		<property name="description" value="Person" />
	</bean>

	<bean id="IacucProtocol-fundingSource" parent="IacucProtocol-fundingSource-parentBean" />
	<bean id="IacucProtocol-fundingSource-parentBean" abstract="true" parent="AttributeDefinition" >
		<property name="name" value="fundingSource" />
		<property name="required" value="false" />
		<property name="forceUppercase" value="false" />
		<property name="label" value="Funding Source" />
		<property name="shortLabel" value="Funding Source" />
		<property name="maxLength" value="8" />
		<property name="validationPattern" >
			<bean parent="AnyCharacterValidationPattern" />
		</property>
		<property name="control" >
			<bean parent="TextControlDefinition"
				p:size="8" />
		</property>
		<property name="summary" value="Funding Source" />
		<property name="description" value="The protocol's fixed home unit that will be used for routing and business rule purposes." />
	</bean>

    <bean id="IacucProtocol-speciesCode" parent="IacucProtocolSpecies-speciesCode-parentBean">
		<property name="required" value="false" />
    </bean>

    <bean id="IacucProtocol-exceptionCategoryCode" parent="IacucProtocolException-exceptionCategoryCode-parentBean">
		<property name="required" value="false" />
    </bean>

    <bean id="IacucProtocol-lookupProtocolPersonId" parent="IacucProtocol-lookupProtocolPersonId-parentBean" />
    <bean id="IacucProtocol-lookupProtocolPersonId-parentBean" abstract="true" parent="AttributeReferenceDummy-genericBigText">
        <property name="name" value="lookupProtocolPersonId" />
        <property name="label" value="All My Protocols" />
        <property name="shortLabel" value="All My Protocols" />
        <property name="summary" value="All My Protocols" />
        <property name="description" value="All My Protocols" />
    </bean>

   	<bean id="IacucProtocol-initiatorLastUpdated" parent="IacucProtocol-initiatorLastUpdated-parentBean" />
	<bean id="IacucProtocol-initiatorLastUpdated-parentBean" abstract="true" parent="AttributeDefinition">
		<property name="name" value="initiatorLastUpdated" />
		<property name="label" value="Initiator:Last Updated" />
		<property name="shortLabel" value="Initiator:Last Updated" />
	    <property name="maxLength" value="30" />
	   	<property name="required" value="false" />
	   	<property name="control" >
	    	<bean parent="TextControlDefinition" p:size="30" />
	   	</property>
		<property name="summary" value="Label for Protocol header fields" />
		<property name="description" value="Label for Protocol header fields" />
	</bean>

	<bean id="IacucProtocol-protocolSubmissionStatus" parent="IacucProtocol-protocolSubmissionStatus-parentBean" />
	<bean id="IacucProtocol-protocolSubmissionStatus-parentBean" abstract="true" parent="ProtocolSubmission-submissionStatus.description-parentBean">
		<property name="name" value="protocolSubmissionStatus" />
	</bean>

    <!-- Business Object Inquiry Definition -->
    <bean id="IacucProtocol-inquiryDefinition" parent="IacucProtocol-inquiryDefinition-parentBean" />
    <bean id="IacucProtocol-inquiryDefinition-parentBean" abstract="true" parent="InquiryDefinition">
        <property name="title" value="IACUC Protocol Id" />
        <property name="inquirySections" >
            <list>
                <bean parent="InquirySectionDefinition">
                    <property name="title" value="IACUC Protocol Id" />
                    <property name="numberOfColumns" value="1" />
                    <property name="inquiryFields" >
                        <list>
                            <bean parent="FieldDefinition"
                                p:attributeName="protocolId"
                                p:forceInquiry="true" />
                            <bean parent="FieldDefinition"
                                p:attributeName="protocolNumber" />
                            <bean parent="FieldDefinition"
                                p:attributeName="sequenceNumber" />
                            <bean parent="FieldDefinition"
                                p:attributeName="versionNumber" />
                            <bean parent="FieldDefinition"
                                p:attributeName="protocolTypeCode" />
                            <bean parent="FieldDefinition"
                                p:attributeName="protocolStatusCode" />
                            <bean parent="FieldDefinition"
                                p:attributeName="title" />
                            <bean parent="FieldDefinition"
                                p:attributeName="description" />
                            <bean parent="FieldDefinition"
                                p:attributeName="initialSubmissionDate" />
                            <bean parent="FieldDefinition"
                                p:attributeName="approvalDate" />
                            <bean parent="FieldDefinition"
                                p:attributeName="expirationDate" />
                            <bean parent="FieldDefinition"
                                p:attributeName="fdaApplicationNumber" />
                            <bean parent="FieldDefinition"
                                p:attributeName="referenceNumber1" />
                            <bean parent="FieldDefinition"
                                p:attributeName="referenceNumber2" />
                            <bean parent="FieldDefinition"
                                p:attributeName="isBillable" />
                            <bean parent="FieldDefinition"
                                p:attributeName="specialReviewIndicator" />
                            <bean parent="FieldDefinition"
                                p:attributeName="keyStudyPersonIndicator" />
                            <bean parent="FieldDefinition"
                                p:attributeName="fundingSourceIndicator" />
                            <bean parent="FieldDefinition"
                                p:attributeName="correspondentIndicator" />
                            <bean parent="FieldDefinition"
                                p:attributeName="referenceIndicator" />
                            <bean parent="FieldDefinition"
                                p:attributeName="layStatement1" />
                            <bean parent="FieldDefinition"
                                p:attributeName="layStatement2" />
                            <bean parent="FieldDefinition"
                                p:attributeName="lastApprovalDate" />
                            <bean parent="FieldDefinition"
                                p:attributeName="overviewTimeline" />
                            <bean parent="FieldDefinition"
                                p:attributeName="speciesStudyGroupIndicator" />
                            <bean parent="FieldDefinition"
                                p:attributeName="alternativeSearchIndicator" />
                            <bean parent="FieldDefinition"
                                p:attributeName="scientificJustifIndicator" />
                        </list>
                    </property>
                </bean>
            </list>
        </property>
    </bean>
    <!-- Business Object Lookup Definition -->
    <bean id="IacucProtocol-lookupDefinition" parent="IacucProtocol-lookupDefinition-parentBean" />
    <bean id="IacucProtocol-lookupDefinition-parentBean" abstract="true" parent="LookupDefinition">
        <property name="title" value="IACUC Protocol Lookup" />
        <property name="lookupableID" value="iacucProtocolLookupable" />
        <property name="menubar" value="<a href="index.jsp">Main</a>" />
        <property name="defaultSort" >
            <bean parent="SortDefinition" >
        </bean>
        </property>
        <property name="lookupFields" >
            <list>
				<bean parent="FieldDefinition"
					p:attributeName="protocolNumber"
					p:forceInquiry="true"  />
				<bean parent="FieldDefinition"
					p:attributeName="protocolTypeCode" />
				<bean parent="FieldDefinition"
					p:attributeName="protocolStatusCode" />
				<bean parent="FieldDefinition"
					p:attributeName="referenceNumber1" />
				<bean parent="FieldDefinition"
					p:attributeName="title" />
				<bean parent="FieldDefinition"
					p:attributeName="description" />
				<bean parent="FieldDefinition"
                    p:attributeName="initialSubmissionDate" />
				<bean parent="FieldDefinition"
					p:attributeName="expirationDate" />
			    <bean parent="FieldDefinition"
					p:attributeName="approvalDate" />
				<bean parent="FieldDefinition"
					p:attributeName="lastApprovalDate" />

				<bean parent="FieldDefinition"
					p:attributeName="investigator" />
				<bean parent="FieldDefinition"
					p:attributeName="keyPerson"/>
				<bean parent="FieldDefinition"
					p:attributeName="researchAreaCode" />

				<bean parent="FieldDefinition"
					p:attributeName="fundingSource" />
				<bean parent="FieldDefinition"
					p:attributeName="performingOrganizationId" />
				<bean parent="FieldDefinition"
					p:attributeName="leadUnitNumber" />
				<bean parent="FieldDefinition"
					p:attributeName="leadUnitName" />
				<bean parent="FieldDefinition"
					p:attributeName="speciesCode" />
				<bean parent="FieldDefinition"
					p:attributeName="exceptionCategoryCode" />
				<bean parent="FieldDefinition"
				    p:attributeName="active"  p:defaultValue="Y" />

                <bean parent="FieldDefinition"
                    p:attributeName="lookupProtocolPersonId" p:noLookup="true" p:hidden="true" />

				<!--

				<bean parent="FieldDefinition"
                    p:attributeName="lookupPendingProtocol" p:noLookup="true" p:hidden="true" />
                <bean parent="FieldDefinition"
                    p:attributeName="lookupPendingPIActionProtocol" p:noLookup="true" p:hidden="true" />
                <bean parent="FieldDefinition"
                    p:attributeName="lookupActionAmendRenewProtocol" p:noLookup="true" p:hidden="true" />
                <bean parent="FieldDefinition"
                    p:attributeName="lookupActionNotifyIRBProtocol" p:noLookup="true" p:hidden="true" />
                <bean parent="FieldDefinition"
                    p:attributeName="lookupActionRequestProtocol" p:noLookup="true" p:hidden="true" />

                <bean parent="FieldDefinition"
                    p:attributeName="speciesStudyGroupIndicator" />
                <bean parent="FieldDefinition"
                    p:attributeName="alternativeSearchIndicator" />
                <bean parent="FieldDefinition"
                    p:attributeName="scientificJustifIndicator" />
				-->

            </list>
        </property>
        <property name="resultFields" >
            <list>
				<bean parent="FieldDefinition"
					p:attributeName="protocolNumber"
					p:forceInquiry="true" />
				<bean parent="FieldDefinition"
					p:attributeName="protocolType.description"/>
				<bean parent="FieldDefinition"
					p:attributeName="sequenceNumber"/>
				<bean parent="FieldDefinition"
					p:attributeName="protocolStatus.description"/>
				<bean parent="FieldDefinition"
					p:attributeName="title" />
				<bean parent="FieldDefinition"
					p:attributeName="description" />
				<bean parent="FieldDefinition"
                    p:attributeName="initialSubmissionDate" />
				<bean parent="FieldDefinition"
					p:attributeName="approvalDate" />
				<bean parent="FieldDefinition"
					p:attributeName="expirationDate" />
				<bean parent="FieldDefinition"
					p:attributeName="lastApprovalDate" />
				<bean parent="FieldDefinition"
					p:attributeName="investigator" />
				<bean parent="FieldDefinition"
					p:attributeName="leadUnitNumber" />
				<bean parent="FieldDefinition"
					p:attributeName="leadUnitName" />
				<bean parent="FieldDefinition"
					p:attributeName="active" />
            </list>
        </property>
    </bean>

</beans>


text:
from django.apps import AppConfig

class ItemConfig(AppConfig):
    name = 'Item'


text:
<readable><title>3292016893_24d14c8b4f</title><content>
A big dog and a smaller dog fight over a piece of fabric .
A blonde dog is standing beside a blonde puppy , who is trying to get a stuffed animal from the adult dog .
An adult golden retriever and a puppy are playing tug of war with a brown toy .
An older dog and a younger one playing with a toy .
The small , golden dog is attempting to take a furry object from a larger look-alike
</content></readable>


text:
package minigamemanager.api.minigame;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Set the attributes of a minigame. Required for all minigames.
 *
 * @author DonkeyCore
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface MinigameAttributes {

	/**
	 * The name of the minigame
	 *
	 * @return The name of the minigame
	 */
	String name();

	/**
	 * The shortened name of the minigame
	 *
	 * @return The shortened name of the minigame, or empty string ("") if not specified
	 */
	String shortName() default "";

	/**
	 * The type of the minigame
	 *
	 * @return An instance of MinigameType
	 */
	MinigameType type();

	/**
	 * The authors of the minigame
	 *
	 * @return An array of authors' names
	 */
	String[] authors() default {};

	/**
	 * Whether players should always have full health during the minigame
	 *
	 * @return Whether players should always have full health (default false)
	 */
	boolean alwaysFullHealth() default false;

	/**
	 * Whether players should always be saturated during the minigame
	 *
	 * @return Whether players should always be saturated (default false)
	 */
	boolean alwaysSaturated() default false;

	/**
	 * Whether players should be able to drop items on the ground
	 *
	 * @return Whether players can drop items (default true)
	 */
	boolean canDropItems() default true;

	/**
	 * Whether players should be able to pick up items from the ground
	 *
	 * @return Whether players can pick up items (default true)
	 */
	boolean canPickUpItems() default true;

	/**
	 * Whether the minigame is a default minigame that came with
	 * MinigameManager. Setting this to true breaks things if you're lying.
	 *
	 * @return Whether the minigame is a default minigame
	 */
	boolean isDefault() default false;

}


text:
<?php
class WPML_Taxonomy_Translation_UI extends WPML_SP_User {

	private $taxonomy = '';
	private $tax_selector = true;
	private $taxonomy_obj = false;
	private $screen_options = null;

	/**
	 * WPML_Taxonomy_Translation constructor.
	 *
	 * @param string $taxonomy if given renders a specific taxonomy,
	 *                         otherwise renders a placeholder
	 * @param bool[] $args array with possible indices:
	 *                     'taxonomy_selector' => bool .. whether or not to show the taxonomy selector
	 * @param WPML_UI_Screen_Options_Factory $screen_options_factory
	 */
	public function __construct( &$sitepress, $taxonomy = '', $args = array(), $screen_options_factory = null ) {
		parent::__construct( $sitepress );
		$this->tax_selector = isset( $args['taxonomy_selector'] ) ? $args['taxonomy_selector'] : true;
		$this->taxonomy     = $taxonomy ? $taxonomy : false;
		if ( $taxonomy ) {
			$this->taxonomy_obj = get_taxonomy( $taxonomy );
		}

		if ( $screen_options_factory ) {
			$this->screen_options = $screen_options_factory->create_pagination( 'taxonomy_translation_per_page',
				ICL_TM_DOCS_PER_PAGE );
			$this->help_tab = $screen_options_factory->create_help_tab(
				'taxonomy_translation_help_tab',
				__( 'Taxonomy Translation', 'sitepress' ),
				'
' . __( 'Descriptive content that will show in My Help Tab-body goes here.' ) . '
'
				);
		}

	}

	/**
	 * Echos the HTML that serves as an entry point for the taxonomy translation
	 * screen and enqueues necessary js.
	 */
	public function render() {
		WPML_Taxonomy_Translation_Table_Display::enqueue_taxonomy_table_js( $this->sitepress );
		$output = '
';
		if ( $this->taxonomy ) {
			$output .= '<input type="hidden" id="tax-preselected" value="' . $this->taxonomy . '">';
		}
		if ( ! $this->tax_selector ) {
			$output .= '<input type="hidden" id="tax-selector-hidden" value="1"/>';
		}
		if ( $this->tax_selector ) {
			$output .= '
' . __( 'Taxonomy Translation',
					'sitepress' ) . '
';
			$output .= '
';
		}
		$output .= '
get_items_per_page() . '">';
		$output .= '

';
		$output .= '
';
		do_action( 'icl_menu_footer' );
		echo $output . '
';
	}

	private function get_items_per_page() {
		$items_per_page = 10;
		if ( $this->screen_options ) {
			$items_per_page = $this->screen_options->get_items_per_page();
		}
		return $items_per_page;
	}
}