public class UC4Alias
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static UC4Alias |
EMPTY
Represents an empty UC4Alias.
|
Constructor and Description |
---|
UC4Alias(java.lang.String name)
Creates a new alias.
|
Modifier and Type | Method and Description |
---|---|
static UC4Alias |
aliasOf(java.lang.String value)
Creates an alias from a String value.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
public static final UC4Alias EMPTY
public UC4Alias(java.lang.String name)
name
- Name of the ObjectInvalidUC4NameException
- If the name has more than 200 characters.public static UC4Alias aliasOf(java.lang.String value)
value
- input valuepublic java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object