public function setApplicationId($objectOrId)
    {
        if ($objectOrId instanceof Application) {
            $objectOrId = $objectOrId->getId();
        }

        $this->setValue('application', (string) $objectOrId);
    }
public function setApplicationId($objectOrId)
    {
        if ($objectOrId instanceof Application) {
            $objectOrId = $objectOrId->getId();
        }

        $this->setValue('application', (string) $objectOrId);
    }
public function setApplicationId ( $ objectOrId ) { if ( $ objectOrId instanceof Application ) { $ objectOrId = $ objectOrId -> getId ( ) ; } $ this -> setValue ( 'application' , ( string ) $ objectOrId ) ; }
Set Application identifier that contains this item.

@param Application|string $objectOrId Application or its ID.

@since 0.1
Set Application identifier that contains this item .