Property Tool

Advanced Velocity Workshop #LiveFromRTC2019

Features

Exposes Methods & Attributes

Provides a function to view properties, methods, and attributes of an asset.

Checks Nullity

Provides a method to check for nullity.

Checks for Empty Strings

Provides a method to check for empty string values.

Output Properties

Purpose:

Display attributes, properties, and methods an asset of particular entity type possesses.

Syntax:

$_PropertyTool.outputProperties(OBJECT)

Viewing Properties Output

  • Properties returned are for the asset’s object type
  • Properties and methods are listed on the left
  • Expected output data types are on the right
  • Utilizes Java dot notation
Property Tool Output Example

Null Values

Purpose:

Verifies whether or not an object is null. Returns a boolean.

Syntax:

$_PropertyTool.isNull(OBJECT)

Empty String Check

Purpose:

Checks if a string is null or an empty string. Returns a boolean. 

Syntax:

$_PropertyTool.isEmpty(STRING)

Practice

Property Tool Exercises # 5 - 6

Get Started

More Resources