2009-01-22 22:38:10 +03:00
|
|
|
<?php
|
2009-02-04 19:35:36 +03:00
|
|
|
/*
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
|
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
|
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
|
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
|
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
*
|
|
|
|
* This software consists of voluntary contributions made by many individuals
|
|
|
|
* and is licensed under the LGPL. For more information, see
|
|
|
|
* <http://www.doctrine-project.org>.
|
2009-01-22 22:38:10 +03:00
|
|
|
*/
|
|
|
|
|
2009-07-15 14:59:35 +04:00
|
|
|
namespace Doctrine\ORM\Mapping;
|
|
|
|
|
2009-01-22 22:38:10 +03:00
|
|
|
/* Annotations */
|
|
|
|
|
2009-07-08 19:25:41 +04:00
|
|
|
final class Entity extends \Doctrine\Common\Annotations\Annotation {
|
2009-01-22 22:38:10 +03:00
|
|
|
public $repositoryClass;
|
|
|
|
}
|
2009-07-08 19:25:41 +04:00
|
|
|
final class InheritanceType extends \Doctrine\Common\Annotations\Annotation {}
|
|
|
|
final class DiscriminatorColumn extends \Doctrine\Common\Annotations\Annotation {
|
2009-01-22 22:38:10 +03:00
|
|
|
public $name;
|
|
|
|
public $type;
|
|
|
|
public $length;
|
|
|
|
}
|
2009-07-08 19:25:41 +04:00
|
|
|
final class DiscriminatorValue extends \Doctrine\Common\Annotations\Annotation {}
|
|
|
|
final class SubClasses extends \Doctrine\Common\Annotations\Annotation {}
|
|
|
|
final class Id extends \Doctrine\Common\Annotations\Annotation {}
|
|
|
|
final class GeneratedValue extends \Doctrine\Common\Annotations\Annotation {
|
2009-03-30 23:43:05 +04:00
|
|
|
public $strategy;
|
|
|
|
//public $generator;
|
|
|
|
}
|
2009-07-08 19:25:41 +04:00
|
|
|
final class Version extends \Doctrine\Common\Annotations\Annotation {}
|
|
|
|
final class JoinColumn extends \Doctrine\Common\Annotations\Annotation {
|
2009-01-22 22:38:10 +03:00
|
|
|
public $name;
|
2009-02-04 19:35:36 +03:00
|
|
|
public $referencedColumnName;
|
|
|
|
public $unique = false;
|
|
|
|
public $nullable = true;
|
2009-01-22 22:38:10 +03:00
|
|
|
public $onDelete;
|
|
|
|
public $onUpdate;
|
|
|
|
}
|
2009-07-08 19:25:41 +04:00
|
|
|
final class JoinColumns extends \Doctrine\Common\Annotations\Annotation {}
|
|
|
|
final class Column extends \Doctrine\Common\Annotations\Annotation {
|
2009-01-22 22:38:10 +03:00
|
|
|
public $type;
|
|
|
|
public $length;
|
2009-02-02 14:55:50 +03:00
|
|
|
public $unique = false;
|
|
|
|
public $nullable = false;
|
2009-07-17 22:13:03 +04:00
|
|
|
public $default;
|
2009-05-29 14:23:13 +04:00
|
|
|
public $name;
|
2009-01-22 22:38:10 +03:00
|
|
|
}
|
2009-07-08 19:25:41 +04:00
|
|
|
final class OneToOne extends \Doctrine\Common\Annotations\Annotation {
|
2009-01-22 22:38:10 +03:00
|
|
|
public $targetEntity;
|
|
|
|
public $mappedBy;
|
|
|
|
public $cascade;
|
2009-05-11 14:43:27 +04:00
|
|
|
public $fetch;
|
|
|
|
public $optional;
|
2009-01-22 22:38:10 +03:00
|
|
|
}
|
2009-07-08 19:25:41 +04:00
|
|
|
final class OneToMany extends \Doctrine\Common\Annotations\Annotation {
|
2009-01-22 22:38:10 +03:00
|
|
|
public $mappedBy;
|
|
|
|
public $targetEntity;
|
|
|
|
public $cascade;
|
2009-05-11 14:43:27 +04:00
|
|
|
public $fetch;
|
2009-01-22 22:38:10 +03:00
|
|
|
}
|
2009-07-08 19:25:41 +04:00
|
|
|
final class ManyToOne extends \Doctrine\Common\Annotations\Annotation {
|
2009-01-22 22:38:10 +03:00
|
|
|
public $targetEntity;
|
|
|
|
public $cascade;
|
2009-05-11 14:43:27 +04:00
|
|
|
public $fetch;
|
|
|
|
public $optional;
|
2009-01-22 22:38:10 +03:00
|
|
|
}
|
2009-07-08 19:25:41 +04:00
|
|
|
final class ManyToMany extends \Doctrine\Common\Annotations\Annotation {
|
2009-01-22 22:38:10 +03:00
|
|
|
public $targetEntity;
|
|
|
|
public $mappedBy;
|
|
|
|
public $cascade;
|
2009-05-11 14:43:27 +04:00
|
|
|
public $fetch;
|
2009-01-22 22:38:10 +03:00
|
|
|
}
|
2009-07-08 19:25:41 +04:00
|
|
|
final class ElementCollection extends \Doctrine\Common\Annotations\Annotation {
|
2009-02-04 19:35:36 +03:00
|
|
|
public $tableName;
|
|
|
|
}
|
2009-07-08 19:25:41 +04:00
|
|
|
final class Table extends \Doctrine\Common\Annotations\Annotation {
|
2009-02-04 19:35:36 +03:00
|
|
|
public $name;
|
|
|
|
public $schema;
|
|
|
|
}
|
2009-07-08 19:25:41 +04:00
|
|
|
final class JoinTable extends \Doctrine\Common\Annotations\Annotation {
|
2009-02-04 19:35:36 +03:00
|
|
|
public $name;
|
|
|
|
public $schema;
|
|
|
|
public $joinColumns;
|
|
|
|
public $inverseJoinColumns;
|
2009-03-14 12:05:52 +03:00
|
|
|
}
|
2009-07-08 19:25:41 +04:00
|
|
|
final class SequenceGenerator extends \Doctrine\Common\Annotations\Annotation {
|
2009-03-30 23:43:05 +04:00
|
|
|
public $sequenceName;
|
2009-05-29 14:23:13 +04:00
|
|
|
public $allocationSize = 10;
|
2009-03-30 23:43:05 +04:00
|
|
|
public $initialValue = 1;
|
2009-03-14 12:05:52 +03:00
|
|
|
}
|
2009-07-08 19:25:41 +04:00
|
|
|
final class ChangeTrackingPolicy extends \Doctrine\Common\Annotations\Annotation {}
|
2009-07-18 15:41:37 +04:00
|
|
|
|
|
|
|
/* Annotations for lifecycle callbacks */
|
2009-07-18 22:06:30 +04:00
|
|
|
final class LifecycleListener extends \Doctrine\Common\Annotations\Annotation {}
|
2009-07-18 15:41:37 +04:00
|
|
|
final class PreSave extends \Doctrine\Common\Annotations\Annotation {}
|
|
|
|
final class PostSave extends \Doctrine\Common\Annotations\Annotation {}
|
|
|
|
final class PreUpdate extends \Doctrine\Common\Annotations\Annotation {}
|
|
|
|
final class PostUpdate extends \Doctrine\Common\Annotations\Annotation {}
|
|
|
|
final class PreDelete extends \Doctrine\Common\Annotations\Annotation {}
|
|
|
|
final class PostDelete extends \Doctrine\Common\Annotations\Annotation {}
|
|
|
|
final class PostLoad extends \Doctrine\Common\Annotations\Annotation {}
|
|
|
|
|
|
|
|
/* Generic annotation for Doctrine extensions */
|
|
|
|
final class DoctrineX extends \Doctrine\Common\Annotations\Annotation {}
|