Package au.net.causal.projo.annotation

Examples of au.net.causal.projo.annotation.Preference


  public SettingsPropertyMetadata(String name, Type propertyType, EntityMetadata<?> parent, PropertyAccessor accessor,
      Iterable<? extends Annotation> annotations, SettingsEntityMetadata targetEntity)
  {
    super(name, propertyType, parent, accessor, annotations);
   
    Preference preference = getAnnotation(Preference.class);
    if (preference == null || StringUtils.isEmpty(preference.key()))
      key = name;
    else
      key = preference.key();
   
    this.targetEntity = targetEntity;
  }
View Full Code Here

TOP

Related Classes of au.net.causal.projo.annotation.Preference

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.