[svn r340] WIP commit
This commit is contained in:
parent
a40c22f13a
commit
435a26f4d6
108 changed files with 8325 additions and 680 deletions
|
|
@ -31,6 +31,7 @@ import java.util.Date;
|
|||
|
||||
import org.hibernate.validator.NotNull;
|
||||
import org.hibernate.validator.Max;
|
||||
import org.w3c.dom.Node;
|
||||
|
||||
import com.idcanet.vasc.annotations.VascColumnWidth;
|
||||
import com.idcanet.vasc.annotations.VascDefaultValue;
|
||||
|
|
@ -39,6 +40,9 @@ import com.idcanet.vasc.annotations.VascImage;
|
|||
import com.idcanet.vasc.annotations.VascModelReference;
|
||||
import com.idcanet.vasc.annotations.VascName;
|
||||
import com.idcanet.vasc.annotations.VascToolTip;
|
||||
import com.idcanet.vasc.validator.VascDateFuture;
|
||||
import com.idcanet.vasc.validator.VascObjectNotNull;
|
||||
import com.idcanet.vasc.validator.VascStringLength;
|
||||
|
||||
/**
|
||||
* TestModel
|
||||
|
|
@ -57,10 +61,12 @@ public class TestModel {
|
|||
private Date date = null;
|
||||
private TestModel testModel = null;
|
||||
private String hexColor = null;
|
||||
private Node nonEditorField = null;
|
||||
|
||||
/**
|
||||
* @return the date
|
||||
*/
|
||||
@VascDateFuture
|
||||
public Date getDate() {
|
||||
return date;
|
||||
}
|
||||
|
|
@ -83,6 +89,8 @@ public class TestModel {
|
|||
@VascImage(image="/resources/images/gabelfresser.gif")
|
||||
@NotNull
|
||||
@Max(value=10)
|
||||
@VascObjectNotNull
|
||||
@VascStringLength(max=10)
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
|
@ -125,7 +133,7 @@ public class TestModel {
|
|||
@VascImage(image="/resources/images/gabelfresser.gif")
|
||||
@VascModelReference
|
||||
@NotNull
|
||||
@Max(value=10)
|
||||
@VascObjectNotNull
|
||||
public TestModel getTestModel() {
|
||||
return testModel;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue