Package sonia.scm
Class Type
java.lang.Object
sonia.scm.Type
- Direct Known Subclasses:
RepositoryType
,TemplateType
Base class for all objects which supports different types.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the given object is equals.Returns the display name of the type.getName()
Returns the unique name of the type.int
hashCode()
Returns the hash code of the object.void
setDisplayName
(String displayName) Setter for the display name of the typevoid
Setter for the type nametoString()
-
Constructor Details
-
Method Details
-
equals
Returns true if the given object is equals. -
hashCode
public int hashCode()Returns the hash code of the object. -
toString
-
getDisplayName
Returns the display name of the type. -
getName
Returns the unique name of the type. -
setDisplayName
Setter for the display name of the type- Parameters:
displayName
-
-
setName
Setter for the type name- Parameters:
name
- of the type
-