Class DefaultValueDescriptorImpl
java.lang.Object
ch.tocco.nice2.model.base.spi.defaultvalue.spi.DefaultValueDescriptorImpl
- All Implemented Interfaces:
DefaultValueDescriptor
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.model.base.api.defaultvalue.DefaultValueDescriptor
DefaultValueDescriptor.SetOnTemplateOption
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultValueDescriptorImpl
(String value, String type, DefaultValueDescriptor.SetOnTemplateOption setOnTemplate) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
Creates a deep copy of this object.boolean
Returns the default value which is the content of the <default /> tag.Returns the default value type which is the content of thetype
attribute of the <default/> tag.Returns a description of the parent element this default value descriptor is attached to.Returns the set on template optionint
hashCode()
void
setParentDescriptor
(ParentDescriptor parentDescriptor) toString()
-
Constructor Details
-
DefaultValueDescriptorImpl
public DefaultValueDescriptorImpl(String value, String type, DefaultValueDescriptor.SetOnTemplateOption setOnTemplate)
-
-
Method Details
-
getDefaultValue
Description copied from interface:DefaultValueDescriptor
Returns the default value which is the content of the <default /> tag.- Specified by:
getDefaultValue
in interfaceDefaultValueDescriptor
-
getDefaultValueType
Description copied from interface:DefaultValueDescriptor
Returns the default value type which is the content of thetype
attribute of the <default/> tag.- Specified by:
getDefaultValueType
in interfaceDefaultValueDescriptor
-
getSetOnTemplateOption
Description copied from interface:DefaultValueDescriptor
Returns the set on template option- Specified by:
getSetOnTemplateOption
in interfaceDefaultValueDescriptor
-
getParentDescriptor
Description copied from interface:DefaultValueDescriptor
Returns a description of the parent element this default value descriptor is attached to.- Specified by:
getParentDescriptor
in interfaceDefaultValueDescriptor
-
setParentDescriptor
- Specified by:
setParentDescriptor
in interfaceDefaultValueDescriptor
-
copy
Description copied from interface:DefaultValueDescriptor
Creates a deep copy of this object.- Specified by:
copy
in interfaceDefaultValueDescriptor
-
equals
-
hashCode
public int hashCode() -
toString
-