The correct syntax is as follows ( Array(...) for arrays new Nested(..) for nested annotations): import org.hibernate.validator.constraints. ScriptAssert @ScriptAssert. List(Array( new ScriptAssert(script = "...", lang = "javascript"), new ScriptAssert(script = "...", lang = "javascript"))) class Test.
The correct syntax is as follows (Array(...) for arrays, new Nested(..) for nested annotations): import org.hibernate.validator.constraints. ScriptAssert @ScriptAssert. List(Array( new ScriptAssert(script = "...", lang = "javascript"), new ScriptAssert(script = "...", lang = "javascript"))) class Test.
It won't work due to a known bug. – Vasil Remeniuk Sep 30 '10 at 7:18 Did you try it? Using Scala 2.8, this works for me.
I just got the syntax wrong in my initial answer, but now it's corrected. – Lukas Rytz Oct 2 '10 at 9:42 I did try (against scala 2.8 and hibernate validator), and it doesn't work. Did you try?
– Vasil Remeniuk Oct 2 '10 at 12:23 Your code gives "error: org.hibernate.validator.constraints. ScriptAssert does not have a constructor: new ScriptAssert(script = "...", lang = "javascript")))" – Vasil Remeniuk Oct 2 '10 at 12:46 1 You need to put validation-api into the classpath. Here's the command I used for compiling the thing: ~/scala/dist/bin/scalac -cp /Users/luc/Downloads/hib/hibernate-validator-4.1.0.Final.
Jar:/Users/luc/Downloads/hib/validation-api-1.0. CR5. Jar test.
Scala – Lukas Rytz Oct 2 '10 at 16:36.
I stumbled upon @inline and @specialized but it would be nice if there is a complete list which also explains what they do exactly. If such a list doesn't exist: Are there some annotations one should be familiar with?
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.