Package com.uc4.api
Class UC4Alias
java.lang.Object
com.uc4.api.UC4Alias
This class stores a valid alias.
The method toString() of this class can be used to get the alias as String
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EMPTY
Represents an empty UC4Alias.
-
-
Constructor Details
-
UC4Alias
Creates a new alias.- Parameters:
name
- Name of the Object- Throws:
InvalidUC4NameException
- If the name has more than 200 characters.
-
-
Method Details
-
aliasOf
Creates an alias from a String value. If input value is not valid then an empty UC4Alias is returned.- Parameters:
value
- input value- Returns:
- a UC4Alias which is empty if input is not valid.
-
toString
-
hashCode
public int hashCode() -
equals
-