Codota Logo
OrganisaatioDTO.getYtunnus
Code IndexAdd Codota to your IDE (free)

How to use
getYtunnus
method
in
fi.vm.sade.organisaatio.api.model.types.OrganisaatioDTO

Best Java code snippets using fi.vm.sade.organisaatio.api.model.types.OrganisaatioDTO.getYtunnus (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: fi.vm.sade.organisaatio/organisaatio-ui-widgets

@Override
public String getCaption(OrganisaatioDTO node) {
  if (!showDomainName || node.getDomainNimi() == null) {
    return OrganisaatioDisplayHelper.getCaption(node, I18N.getLocale()); //Locale.); //super.getCaption(node);
  } else {
    return node.getDomainNimi() + " (" + node.getYtunnus() + ") ";
  }
}
origin: fi.vm.sade.organisaatio/organisaatio-api

private boolean textMatches(OrganisaatioDTO organisaatio, OrganisaatioSearchCriteriaDTO searchSpec) {
  log.log(Level.INFO, "Search string is: {0}", searchSpec.getSearchStr());
  String searchStr = (searchSpec.getSearchStr() != null) ? searchSpec.getSearchStr() : "";
  if (searchStr.length() <= 0) {
    return true;
  }
  return isPropertyMatch(getClosest(Locale.getDefault(), organisaatio),
      searchStr)
      || isPropertyMatch(organisaatio.getYtunnus(), searchStr)
      || isPropertyMatch(organisaatio.getOppilaitosKoodi(), searchStr);
}
origin: fi.vm.sade.organisaatio/organisaatio-api

public static String getCaption(OrganisaatioDTO org, Locale locale) {
  String caption = "";
  if(org == null) {
    return "N/A";
  }
  List<String> orgTyypit = new ArrayList<String>();
  for (OrganisaatioTyyppi orgTyyppi : org.getTyypit()) {
    orgTyypit.add(orgTyyppi.value());
  }
  if (orgTyypit.contains(OrganisaatioTyyppi.KOULUTUSTOIMIJA.value())) {
    caption = getClosest(locale, org) + " ( " + org.getYtunnus() + " )" + " " + OrganisaatioTyyppi.KOULUTUSTOIMIJA.value();
  } else if (orgTyypit.contains(OrganisaatioTyyppi.OPPILAITOS.value())) {
    caption = getClosest(locale, org) + " ( " + org.getOppilaitosKoodi() + " ) " + OrganisaatioTyyppi.OPPILAITOS.value();
  } else {
    caption = getClosest(locale, org) + " " + orgTyypit.get(0);
  }
  return caption;
}
fi.vm.sade.organisaatio.api.model.typesOrganisaatioDTOgetYtunnus

Javadoc

Gets the value of the ytunnus property.

Popular methods of OrganisaatioDTO

  • getTyypit
    Gets the value of the tyypit property. This accessor method returns a reference to the live list, no
  • <init>
  • getAlkuPvm
    Gets the value of the alkuPvm property.
  • getLakkautusPvm
    Gets the value of the lakkautusPvm property.
  • getOid
    Gets the value of the oid property.
  • getOppilaitosKoodi
    Gets the value of the oppilaitosKoodi property.
  • getOppilaitosTyyppi
    Gets the value of the oppilaitosTyyppi property.
  • getParentOid
    Gets the value of the parentOid property.
  • setOid
    Sets the value of the oid property.
  • setOppilaitosKoodi
    Sets the value of the oppilaitosKoodi property.
  • setParentOid
    Sets the value of the parentOid property.
  • setYtunnus
    Sets the value of the ytunnus property.
  • setParentOid,
  • setYtunnus,
  • getDomainNimi,
  • getMuutOsoitteet,
  • getNimi,
  • getOpetuspisteenJarjNro,
  • getYhteystiedot,
  • setAlkuPvm,
  • setDomainNimi

Popular in Java

  • Start an intent from android
  • putExtra (Intent)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • JTable (javax.swing)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now