public class UC4UserName extends UC4ObjectName
| Constructor and Description |
|---|
UC4UserName(String name)
Constructs a
UC4UserName using the specified name. |
UC4UserName(UC4UserName name)
Constructs a
UC4UserName using the specified parameters. |
| Modifier and Type | Method and Description |
|---|---|
String |
getAllowedChars()
Returns the allowed characters of an object name
|
boolean |
isValid(String name)
Tests if the supplied name would be a valid name for an
object in the Automation Engine.
|
boolean |
isValidUsername()
Returns
true if this object contains a valid user name. |
containsVariable, containsVariable, equals, getName, hashCode, isEmpty, toStringpublic UC4UserName(String name) throws InvalidUC4NameException
UC4UserName using the specified name.name - nameInvalidUC4NameException - if the name is not empty and invalidpublic UC4UserName(UC4UserName name)
UC4UserName using the specified parameters.name - UC4UserNamepublic boolean isValid(String name)
UC4ObjectNameisValid in class UC4ObjectNamename - Name to be testedpublic boolean isValidUsername()
true if this object contains a valid user name.public String getAllowedChars()
UC4ObjectNamegetAllowedChars in class UC4ObjectNameCopyright © 2021. All rights reserved.