Package com.uc4.api
Class UC4TimezoneName
- java.lang.Object
-
- com.uc4.api.UC4ObjectName
-
- com.uc4.api.UC4TimezoneName
-
public class UC4TimezoneName extends UC4ObjectName
This class represents the name of a TimeZone object. It contains checks to test if the name is valid for a TZ object.
-
-
Field Summary
-
Fields inherited from class com.uc4.api.UC4ObjectName
maxLength
-
-
Constructor Summary
Constructors Constructor Description UC4TimezoneName(UC4TimezoneName name)
Constructs aUC4TimezoneName
using the specified parameters.UC4TimezoneName(java.lang.String name)
Constructs aUC4TimezoneName
using the specifiedname
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValid(java.lang.String name)
Tests if the supplied name would be a valid name for an object in the Automation Engine.-
Methods inherited from class com.uc4.api.UC4ObjectName
containsVariable, containsVariable, equals, getAllowedChars, getName, hashCode, isEmpty, toString
-
-
-
-
Constructor Detail
-
UC4TimezoneName
public UC4TimezoneName(java.lang.String name)
Constructs aUC4TimezoneName
using the specifiedname
.- Parameters:
name
- name- Throws:
InvalidUC4NameException
- if the name is not empty and invalid
-
UC4TimezoneName
public UC4TimezoneName(UC4TimezoneName name)
Constructs aUC4TimezoneName
using the specified parameters.- Parameters:
name
-UC4TimezoneName
-
-
Method Detail
-
isValid
public boolean isValid(java.lang.String name)
Description copied from class:UC4ObjectName
Tests if the supplied name would be a valid name for an object in the Automation Engine. The test is case insensitive.- Overrides:
isValid
in classUC4ObjectName
- Parameters:
name
- Name to be tested- Returns:
- true if this is a valid name of an object
-
-