2009-01-22 22:38:10 +03:00
|
|
|
<?php
|
2009-02-04 19:35:36 +03:00
|
|
|
/*
|
|
|
|
* 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;
|
|
|
|
|
2011-09-13 08:14:36 +04:00
|
|
|
interface Annotation {}
|
2011-09-13 07:59:24 +04:00
|
|
|
|
2009-07-30 19:16:02 +04:00
|
|
|
|
2009-01-22 22:38:10 +03:00
|
|
|
/* Annotations */
|
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("CLASS")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class Entity implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-01-22 22:38:10 +03:00
|
|
|
public $repositoryClass;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var boolean */
|
2011-03-29 22:17:44 +04:00
|
|
|
public $readOnly = false;
|
2009-01-22 22:38:10 +03:00
|
|
|
}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("CLASS")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class MappedSuperclass implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2011-09-08 00:27:05 +04:00
|
|
|
public $repositoryClass;
|
|
|
|
}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("CLASS")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class InheritanceType implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
|
|
|
public $value;
|
|
|
|
}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("CLASS")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class DiscriminatorColumn implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-01-22 22:38:10 +03:00
|
|
|
public $name;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-01-22 22:38:10 +03:00
|
|
|
public $type;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var integer */
|
2009-01-22 22:38:10 +03:00
|
|
|
public $length;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var mixed */
|
|
|
|
public $fieldName; // field name used in non-object hydration (array/scalar)
|
2009-01-22 22:38:10 +03:00
|
|
|
}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("CLASS")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class DiscriminatorMap implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var array<string> */
|
|
|
|
public $value;
|
|
|
|
}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("PROPERTY")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class Id implements Annotation {}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("PROPERTY")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class GeneratedValue implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2010-02-09 20:13:49 +03:00
|
|
|
public $strategy = 'AUTO';
|
2009-03-30 23:43:05 +04:00
|
|
|
}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("PROPERTY")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class Version implements Annotation {}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target({"PROPERTY","ANNOTATION"})
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class JoinColumn implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-01-22 22:38:10 +03:00
|
|
|
public $name;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2010-02-09 20:13:49 +03:00
|
|
|
public $referencedColumnName = 'id';
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var boolean */
|
2009-02-04 19:35:36 +03:00
|
|
|
public $unique = false;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var boolean */
|
2009-02-04 19:35:36 +03:00
|
|
|
public $nullable = true;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var mixed */
|
2009-01-22 22:38:10 +03:00
|
|
|
public $onDelete;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2010-02-02 00:48:27 +03:00
|
|
|
public $columnDefinition;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
|
|
|
public $fieldName; // field name used in non-object hydration (array/scalar)
|
2009-01-22 22:38:10 +03:00
|
|
|
}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("PROPERTY")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class JoinColumns implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var array<Doctrine\ORM\Mapping\JoinColumn> */
|
|
|
|
public $value;
|
|
|
|
}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("PROPERTY")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class Column implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
|
|
|
public $name;
|
|
|
|
/** @var mixed */
|
2010-02-09 20:13:49 +03:00
|
|
|
public $type = 'string';
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var integer */
|
2009-01-22 22:38:10 +03:00
|
|
|
public $length;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var integer */
|
|
|
|
public $precision = 0; // The precision for a decimal (exact numeric) column (Applies only for decimal column)
|
|
|
|
/** @var integer */
|
|
|
|
public $scale = 0; // The scale for a decimal (exact numeric) column (Applies only for decimal column)
|
|
|
|
/** @var boolean */
|
2009-02-02 14:55:50 +03:00
|
|
|
public $unique = false;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var boolean */
|
2009-02-02 14:55:50 +03:00
|
|
|
public $nullable = false;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var array */
|
2009-09-04 22:35:40 +04:00
|
|
|
public $options = array();
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2010-01-21 01:35:18 +03:00
|
|
|
public $columnDefinition;
|
2009-01-22 22:38:10 +03:00
|
|
|
}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("PROPERTY")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class OneToOne implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-01-22 22:38:10 +03:00
|
|
|
public $targetEntity;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-01-22 22:38:10 +03:00
|
|
|
public $mappedBy;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2010-03-15 20:19:00 +03:00
|
|
|
public $inversedBy;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var array<string> */
|
2009-01-22 22:38:10 +03:00
|
|
|
public $cascade;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-10-12 16:54:14 +04:00
|
|
|
public $fetch = 'LAZY';
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var boolean */
|
2009-07-23 13:52:16 +04:00
|
|
|
public $orphanRemoval = false;
|
2009-01-22 22:38:10 +03:00
|
|
|
}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("PROPERTY")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class OneToMany implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-01-22 22:38:10 +03:00
|
|
|
public $mappedBy;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-01-22 22:38:10 +03:00
|
|
|
public $targetEntity;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var array<string> */
|
2009-01-22 22:38:10 +03:00
|
|
|
public $cascade;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-10-12 16:54:14 +04:00
|
|
|
public $fetch = 'LAZY';
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var boolean */
|
2009-07-23 13:52:16 +04:00
|
|
|
public $orphanRemoval = false;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2011-02-05 11:31:40 +03:00
|
|
|
public $indexBy;
|
2009-01-22 22:38:10 +03:00
|
|
|
}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("PROPERTY")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class ManyToOne implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-01-22 22:38:10 +03:00
|
|
|
public $targetEntity;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var array<string> */
|
2009-01-22 22:38:10 +03:00
|
|
|
public $cascade;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-10-12 16:54:14 +04:00
|
|
|
public $fetch = 'LAZY';
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2010-03-15 20:19:00 +03:00
|
|
|
public $inversedBy;
|
2009-01-22 22:38:10 +03:00
|
|
|
}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("PROPERTY")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class ManyToMany implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-01-22 22:38:10 +03:00
|
|
|
public $targetEntity;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-01-22 22:38:10 +03:00
|
|
|
public $mappedBy;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2010-03-15 20:19:00 +03:00
|
|
|
public $inversedBy;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var array<string> */
|
2009-01-22 22:38:10 +03:00
|
|
|
public $cascade;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-10-12 16:54:14 +04:00
|
|
|
public $fetch = 'LAZY';
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2011-02-05 11:31:40 +03:00
|
|
|
public $indexBy;
|
2009-01-22 22:38:10 +03:00
|
|
|
}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("ALL")
|
|
|
|
* @todo check available targets
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class ElementCollection implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-02-04 19:35:36 +03:00
|
|
|
public $tableName;
|
|
|
|
}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("CLASS")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class Table implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-02-04 19:35:36 +03:00
|
|
|
public $name;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-02-04 19:35:36 +03:00
|
|
|
public $schema;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var array<Doctrine\ORM\Mapping\Index> */
|
2009-08-21 22:13:22 +04:00
|
|
|
public $indexes;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var array<Doctrine\ORM\Mapping\UniqueConstraint> */
|
2009-08-21 22:13:22 +04:00
|
|
|
public $uniqueConstraints;
|
|
|
|
}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("ANNOTATION")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class UniqueConstraint implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-08-21 22:13:22 +04:00
|
|
|
public $name;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var array<string> */
|
2009-08-21 22:13:22 +04:00
|
|
|
public $columns;
|
|
|
|
}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("ANNOTATION")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class Index implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-08-21 22:13:22 +04:00
|
|
|
public $name;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var array<string> */
|
2009-08-21 22:13:22 +04:00
|
|
|
public $columns;
|
2009-02-04 19:35:36 +03:00
|
|
|
}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("PROPERTY")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class JoinTable implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-02-04 19:35:36 +03:00
|
|
|
public $name;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-02-04 19:35:36 +03:00
|
|
|
public $schema;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var array<Doctrine\ORM\Mapping\JoinColumn> */
|
2010-11-27 22:05:36 +03:00
|
|
|
public $joinColumns = array();
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var array<Doctrine\ORM\Mapping\JoinColumn> */
|
2010-11-27 22:05:36 +03:00
|
|
|
public $inverseJoinColumns = array();
|
2009-03-14 12:05:52 +03:00
|
|
|
}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("PROPERTY")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class SequenceGenerator implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2009-03-30 23:43:05 +04:00
|
|
|
public $sequenceName;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var integer */
|
2010-06-13 22:09:59 +04:00
|
|
|
public $allocationSize = 1;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var integer */
|
2009-03-30 23:43:05 +04:00
|
|
|
public $initialValue = 1;
|
2009-03-14 12:05:52 +03:00
|
|
|
}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("CLASS")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class ChangeTrackingPolicy implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
|
|
|
public $value;
|
|
|
|
}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("PROPERTY")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class OrderBy implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var array<string> */
|
|
|
|
public $value;
|
|
|
|
}
|
2010-02-14 22:38:22 +03:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("CLASS")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class NamedQueries implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var array<Doctrine\ORM\Mapping\NamedQuery> */
|
|
|
|
public $value;
|
|
|
|
}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("ANNOTATION")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class NamedQuery implements Annotation {
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2011-03-07 00:45:09 +03:00
|
|
|
public $name;
|
2011-09-13 07:59:24 +04:00
|
|
|
/** @var string */
|
2011-03-07 00:45:09 +03:00
|
|
|
public $query;
|
|
|
|
}
|
|
|
|
|
2009-07-18 15:41:37 +04:00
|
|
|
/* Annotations for lifecycle callbacks */
|
2011-08-13 23:28:05 +04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("CLASS")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class HasLifecycleCallbacks implements Annotation {}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("METHOD")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class PrePersist implements Annotation {}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("METHOD")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class PostPersist implements Annotation {}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("METHOD")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class PreUpdate implements Annotation {}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("METHOD")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class PostUpdate implements Annotation {}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("METHOD")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class PreRemove implements Annotation {}
|
2011-06-30 13:03:32 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("METHOD")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class PostRemove implements Annotation {}
|
2010-05-19 02:20:40 +04:00
|
|
|
|
2011-08-13 23:28:05 +04:00
|
|
|
/**
|
|
|
|
* @Annotation
|
|
|
|
* @Target("METHOD")
|
|
|
|
*/
|
2011-09-13 08:14:36 +04:00
|
|
|
final class PostLoad implements Annotation {}
|