Skip to content

Instantly share code, notes, and snippets.

@diegopacheco
Created January 7, 2012 03:11
Show Gist options
  • Select an option

  • Save diegopacheco/1573644 to your computer and use it in GitHub Desktop.

Select an option

Save diegopacheco/1573644 to your computer and use it in GitHub Desktop.
class BeanShort(
@BeanProperty var name:String = "Nothing",
@BeanProperty var steps:List[String] = List("ZERO"),
@BeanProperty var args:Map[Int,String] = Map(1 -> "zero")
){
override def toString() : String = "Name: " + getName() + ", Args: " + getArgs() + ",Steps: " + getSteps()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment