Class StringTypedName
java.lang.Object
org.bigraphs.framework.core.datatypes.StringTypedName
Default implementation for an element of a name set. An element of such a name set is represent as a string.
This class is used to represent the type of the control labels of a signature (see
Signature).- Author:
- Dominik Grzelak
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetValue()inthashCode()static StringTypedNameof()Creates a string-typed element for a name set with a random label.static StringTypedNameCreates a name set element with label passed byvalueargument.
-
Field Details
-
name
-
-
Constructor Details
-
StringTypedName
protected StringTypedName() -
StringTypedName
-
-
Method Details
-
getValue
-
of
Creates a name set element with label passed byvalueargument.- Parameters:
value- the name of the element for a name set- Returns:
- an element for a name set
-
of
Creates a string-typed element for a name set with a random label.- Returns:
- a randomly generated string-typed element
-
stringValue
- Specified by:
stringValuein interfaceNamedType<String>
-
equals
-
hashCode
public int hashCode()
-