View Javadoc

1   /* Copyright 2004, 2005 Acegi Technology Pty Limited
2    *
3    * Licensed under the Apache License, Version 2.0 (the "License");
4    * you may not use this file except in compliance with the License.
5    * You may obtain a copy of the License at
6    *
7    *     http://www.apache.org/licenses/LICENSE-2.0
8    *
9    * Unless required by applicable law or agreed to in writing, software
10   * distributed under the License is distributed on an "AS IS" BASIS,
11   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12   * See the License for the specific language governing permissions and
13   * limitations under the License.
14   */
15  
16  package org.acegisecurity.domain.impl;
17  
18  /***
19   * A <i>value object</i>, which means a persistable business object  that does
20   * not have its own persistence identity.
21   * 
22   * <p>
23   * Every value object belongs to a single {@link
24   * org.acegisecurity.domain.impl.AbstractPersistableEntity}. This is
25   * necessary so that the value object has some sort of persistence
26   * relationship/ownership.
27   * </p>
28   * 
29   * <P>
30   * In addition, a value object cannot be referenced from more than one
31   * <code>PersistableEntity</code>. Use a <code>PersistableEntity</code>
32   * instead of a  <code>PersistableValue</code> if this is a design constraint.
33   * </p>
34   *
35   * @author Ben Alex
36   * @version $Id: PersistableValue.java,v 1.2 2005/11/17 00:55:49 benalex Exp $
37   */
38  public abstract class PersistableValue extends BusinessObject {}