list of dots Digital Research Alliance of Canada logo  NSERC logo  University of Ottawa logo / UniversitĂ© d'Ottawa

User Manual    [Previous]   [Next]   

E200 Trait Identifier Invalid

Umple syntactic error related to identifiers of traits

In Umple, identifiers used for traits must be alphanumeric. It means that must start with an alpha character, or _ .

Example

//This example shows an error
// in the name of trait
trait T@ {
	//traits elements
}
      

Load the above code into UmpleOnline

 

Another Example

//This example shows an error
// in the name of trait
trait 1T {
	//traits elements
}
      

Load the above code into UmpleOnline

 

Solution to The Above So the Message No Longer Appears

//This example shows a valid name for the trait
trait Color {
	//traits elements
}
      

Load the above code into UmpleOnline

 

Solution to The Above So the Message No Longer Appears

//This example shows a valid name of traits
trait Equality {
	//traits elements
}
      

Load the above code into UmpleOnline