* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
+ */
package org.wamblee.security.authorization;
import javax.persistence.DiscriminatorColumn;
@Inheritance(strategy = InheritanceType.SINGLE_TABLE)
@DiscriminatorColumn(name = "TYPE")
public abstract class AbstractPathCondition implements PathCondition {
-
+
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
@Version
private int version;
-
- public AbstractPathCondition() {
+
+ public AbstractPathCondition() {
// Empty
}
-
- public AbstractPathCondition(AbstractPathCondition aCondition) {
+
+ public AbstractPathCondition(AbstractPathCondition aCondition) {
id = aCondition.id;
version = aCondition.version;
}