Codota Logo
MetaProperty.isRelationship
Code IndexAdd Codota to your IDE (free)

How to use
isRelationship
method
in
org.apache.bval.model.MetaProperty

Best Java code snippets using org.apache.bval.model.MetaProperty.isRelationship (Showing top 1 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: org.apache.bval/bval-core

/**
 * Learn whether any known property is a relationship.
 * 
 * @see MetaProperty#isRelationship()
 * @return true when at least one of the properties is a relationship
 */
public boolean hasRelationships() {
  if (properties == null) {
    return false;
  }
  for (MetaProperty property : this.properties.values()) {
    if (property.isRelationship()) {
      return true;
    }
  }
  return false;
}
org.apache.bval.modelMetaPropertyisRelationship

Javadoc

Learn whether this property is considered a relationship.

Popular methods of MetaProperty

  • <init>
    Create a new MetaProperty instance.
  • getFeature
  • putFeature
  • setName
    Set the name of this property.
  • setType
    Set the type of this property.
  • getMetaBean
    Get the metabean of the target bean (mainly for relationships).
  • getName
    Get the name of this property.
  • getParentMetaBean
  • getValidations
  • setMetaBean
    Set the MetaBean of this MetaProperty.
  • copy
  • getType
    Get the type of this property.
  • copy,
  • getType,
  • getTypeClass,
  • isMandatory,
  • setParentMetaBean

Popular in Java

  • Finding current android device location
  • getResourceAsStream (ClassLoader)
  • onRequestPermissionsResult (Fragment)
  • getSharedPreferences (Context)
  • Socket (java.net)
    Provides a client-side TCP socket.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • Path (java.nio.file)
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
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