Code example for AnnotatedElement

Methods: getAnnotation

0
		private String name;
 
		public ProjectionMapInfo(AnnotatedElement element)
		{ 
			super(); 
			ProjectionMap projectionMap = element.getAnnotation(ProjectionMap.class);
			if(projectionMap != null)
			{ 
				this.name = projectionMap.value();
				validFlagOn(); 
			} 
		} 
 
		public ProjectionMapInfo(String name)
		{ 
			super(); 
			this.name = name;
			validFlagOn(); 
		} 
 
		public String getName()