Package no.kommune.bergen.soa.svarut.domain

Examples of no.kommune.bergen.soa.svarut.domain.IngenJuridiskEnhet


public class JuridiskEnhetFactory {
  private JuridiskEnhetFactory() {}

  public static JuridiskEnhet create( String value ) {
    if (value == null) return new IngenJuridiskEnhet();
    if (value.length() == 11) return new Fodselsnr( value );
    if (value.length() == 9) return new Orgnr( value );
    return new IngenJuridiskEnhet();
  }
View Full Code Here

TOP

Related Classes of no.kommune.bergen.soa.svarut.domain.IngenJuridiskEnhet

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.