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 TypeMethodDescriptionbooleanReturns true if the given object is equals.Returns the display name of the type.getName()Returns the unique name of the type.inthashCode()Returns the hash code of the object.voidsetDisplayName(String displayName) Setter for the display name of the typevoidSetter 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
-