Codota Logo
PropertyDescriptor.getDefaultExpression
Code IndexAdd Codota to your IDE (free)

How to use
getDefaultExpression
method
in
de.smartics.properties.api.core.domain.PropertyDescriptor

Best Java code snippets using de.smartics.properties.api.core.domain.PropertyDescriptor.getDefaultExpression (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: de.smartics.properties/smartics-properties-config

private static String getExpression(final PropertyDescriptor descriptor)
{
 final PropertyExpression expression = descriptor.getDefaultExpression();
 return expression != null ? expression.getExpression() : null;
}
origin: de.smartics.properties/smartics-properties-config

private static String getExpression(final PropertyDescriptor descriptor)
{
 final PropertyExpression expression = descriptor.getDefaultExpression();
 return expression != null ? expression.getExpression() : null;
}
origin: de.smartics.properties/smartics-properties-report

@Override
public void handle(final PropertyReportItem item) throws ReportException
{
 super.handle(item);
 final PropertyDescriptor descriptor = item.getDescriptor();
 final String key = descriptor.getKey().toString();
 final PropertyExpression expression = descriptor.getDefaultExpression();
 final String value =
   expression != null && expression.getExpression() != null ? expression
     .getExpression() : "";
 currentProperties.setProperty(key, value);
}
origin: de.smartics.properties/smartics-properties-config

if (currentValue == null)
 currentValue = descriptor.getDefaultExpression();
 if (currentValue == null)
origin: de.smartics.properties/smartics-properties-config

/**
 * {@inheritDoc}
 *
 * @see de.smartics.properties.spi.config.resolve.ResolveContext#get(java.lang.String)
 */
@Override
public String get(final String key) throws IllegalArgumentException,
 UnknownPropertyException, PropertyValidationException
{
 final Property property = config.getProperty(key);
 if (property == null)
 {
  throw new UnknownPropertyException(getKey(), key);
 }
 String value = property.getValue();
 if (value == null)
 {
  final PropertyDescriptor descriptor = registry.get(key);
  final PropertyExpression expression = descriptor.getDefaultExpression();
  value = (expression != null ? expression.getExpression() : null);
 }
 return value;
}
// --- object basics --------------------------------------------------------
origin: de.smartics.properties/smartics-properties-report

  descriptor.getDefaultExpression().getExpression();
if (expression != null)
de.smartics.properties.api.core.domainPropertyDescriptorgetDefaultExpression

Javadoc

Returns the expression to use to construct the value of the property. An expression may reference another property or may serve as a template containing any number of property references.

Resolving fails if at least one property reference cannot be resolved.

$ server/path/${command}}

Popular methods of PropertyDescriptor

  • getConstraints
    Returns a list of constraints a value for the property has to meet.
  • getKey
    Returns the key of the property. This value must not be null.
  • getDocumentName
    Returns the name of the document that identifies the document uniquely within the context of the pro
  • getType
    Returns the type of the property value. This value must not be null. If there is no value range sp
  • getValueRange
    Returns the range of values allowed for this property. The returned value may be null if there is no
  • isMandatory
    Checks if the property is mandatory to be not null. If the property is not mandatory, it is optional
  • getCategories
    Returns the categories this property is associated with.
  • getDeclaringType
    Returns the type that declares the property that is described by this instance.
  • getDocumentMetaData
    Returns the meta data information for the property. This value must not be null.
  • getUpdateIntervalInMs
    Returns the update interval in milliseconds (ms). An application may cache the value of the property
  • getUseType
    Returns the use type of the property.
  • isRuntimeMutable
    Checks whether or not the property is mutable at runtime.
  • getUseType,
  • isRuntimeMutable,
  • isSecured

Popular in Java

  • Creating JSON documents from java classes using gson
  • onRequestPermissionsResult (Fragment)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • getSystemService (Context)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Notification (javax.management)
  • JLabel (javax.swing)
  • JOptionPane (javax.swing)
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