Codota Logo
CategoryData.getName
Code IndexAdd Codota to your IDE (free)

How to use
getName
method
in
de.juplo.yourshouter.api.model.CategoryData

Best Java code snippets using de.juplo.yourshouter.api.model.CategoryData.getName (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • Smart code suggestions by Codota
}
origin: de.juplo.yourshouter.api/model-rce

@XmlElement(name = "THEME")
public Reference getTheme()
{
 if (location == null)
  return null;
 List<CategoryData> categories = location.getCategories();
 if (categories.isEmpty())
  return null;
 CategoryData category = categories.get(0);
 return new Reference(category.getId(), null, category.getName());
}
origin: de.juplo.yourshouter.api/model-rce

@XmlElement(name = "THEME")
public Reference getTheme()
{
 if (event == null)
  return model.defaultCategory == null
    ? null
    : new Reference(model.defaultCategory.toString(), null, null);
 List<CategoryData> categories = event.getCategories();
 if (categories.isEmpty())
  return model.defaultCategory == null
    ? null
    : new Reference(model.defaultCategory.toString(), null, null);
 CategoryData category = categories.get(0);
 return new Reference(category.getId(), null, category.getName());
}
origin: de.juplo.yourshouter.api/data-model

@Override
public Stream<NodeData> find(NodeType type, String name)
{
 switch (type)
 {
  case COUNTRY:
   assertEquals(country.getName(), name);
   return Arrays.asList((NodeData)country).stream();
  case STATE:
   assertEquals(state.getName(), name);
   return Stream.empty();
  case CITY:
   return Stream.empty();
  case DISTRICT:
   assertEquals(district.getName(), name);
   return Stream.empty();
  case REGION:
   assertEquals(region.getName(), name);
   return Arrays.asList((NodeData)region).stream();
  case CATEGORY:
   if (name.equals(category.getName()))
    return Arrays.asList((NodeData)category).stream();
  default:
   return Stream.empty();
 }
}
origin: de.juplo.yourshouter.api/data-model

names.put(category1.getName(), category1);
names.put(category2.getName(), category2);
names.put(category3.getName(), category3);
names.put(region1.getName(), region1);
names.put(region2.getName(), region2);
origin: de.juplo.yourshouter.api/data-model

assertEquals(data.source, node.getUri().getSource());
assertEquals(data.locale, node.getLocale());
assertEquals("Konzerte", node.getName());
assertEquals(NodeType.CATEGORY, node.getNodeType());
assertNotNull(node.getFeatures());
assertEquals(data.source, parent.getUri().getSource());
assertEquals(data.locale, parent.getLocale());
assertEquals("Party", parent.getName());
assertEquals(NodeType.CATEGORY, parent.getNodeType());
assertNotNull(parent.getFeatures());
origin: de.juplo.yourshouter.api/data-model

assertEquals(data.source, category.getUri().getSource());
assertEquals(data.locale, category.getLocale());
assertEquals("Konzerte", category.getName());
assertEquals(NodeType.CATEGORY, category.getNodeType());
assertEquals(data.start1, category.getCreated());
assertEquals(data.source, category.getUri().getSource());
assertEquals(data.locale, category.getLocale());
assertEquals("Party", category.getName());
assertEquals(NodeType.CATEGORY, category.getNodeType());
assertEquals(data.start1, category.getCreated());
de.juplo.yourshouter.api.modelCategoryDatagetName

Popular methods of CategoryData

  • getId
  • getNodeType
  • setSource
  • getCreated
  • getFeatures
  • getFields
  • getLocale
  • getModified
  • getNodes
  • getOrder
  • getParents
  • getUri
  • getParents,
  • getUri,
  • getVersion,
  • set,
  • setCreated,
  • setId,
  • setLocale,
  • setModified,
  • setName

Popular in Java

  • Start an intent from android
  • getSupportFragmentManager (FragmentActivity)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • getApplicationContext (Context)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
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