ch.elca.el4j.tests.aspects.model
Class AspectsTests

java.lang.Object
  extended by ch.elca.el4j.services.persistence.generic.dto.AbstractIntOptimisticLockingDto
      extended by ch.elca.el4j.services.persistence.generic.dto.AbstractIntKeyIntOptimisticLockingDto
          extended by ch.elca.el4j.tests.aspects.model.AspectsTests
All Implemented Interfaces:
OptimisticLockingObject, PrimaryKeyObject, PrimaryKeyOptimisticLockingObject, Serializable

@Entity
public class AspectsTests
extends AbstractIntKeyIntOptimisticLockingDto

Domain class to test aspects behavior in Spring/EL4J.

Author:
Martin Zeltner (MZE)
See Also:
Serialized Form
File-location:
AspectsTests
Last check-in date:
2010-12-21 11:08:04 +0100 (Di, 21. Dez 2010) by swismer for revision 4253

Field Summary
private  String description
          Description.
private  String name
          Name.
private static long serialVersionUID
          Serial version UID.
 
Constructor Summary
AspectsTests()
           
 
Method Summary
 String getDescription()
           
 String getName()
           
 void setDescription(String description)
           
 void setName(String name)
           
 
Methods inherited from class ch.elca.el4j.services.persistence.generic.dto.AbstractIntKeyIntOptimisticLockingDto
equals, getKey, getKeyAsObject, hashCode, isKeyNew, resetNew, setKey, setKey, useGeneratedKey
 
Methods inherited from class ch.elca.el4j.services.persistence.generic.dto.AbstractIntOptimisticLockingDto
getOptimisticLockingVersion, increaseOptimisticLockingVersion, setOptimisticLockingVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.elca.el4j.services.persistence.generic.dto.OptimisticLockingObject
increaseOptimisticLockingVersion
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial version UID.

See Also:
Constant Field Values

name

private String name
Name.


description

private String description
Description.

Constructor Detail

AspectsTests

public AspectsTests()
Method Detail

getName

@NotEmpty
@Length(max=64)
public String getName()
Returns:
Returns the name.

setName

public void setName(String name)
Parameters:
name - Is the name to set.

getDescription

@Length(max=256)
public String getDescription()
Returns:
Returns the description.

setDescription

public void setDescription(String description)
Parameters:
description - Is the description to set.


Copyright © 2005-2011 ELCA. All Rights Reserved.