public class ImmutableOutputModel extends AbstractImmutableModel implements OutputModel
OutputModel
description, modelProperties
Constructor and Description |
---|
ImmutableOutputModel(String description,
MetadataType type,
boolean hasDynamicType,
Set<ModelProperty> modelProperties)
Creates a new instance with the given state
|
Modifier and Type | Method and Description |
---|---|
MetadataType |
getType()
Returns the
MetadataType of the Typed component. |
boolean |
hasDynamicType()
Returns
true if the type of the Component is
of dynamic kind, and has to be discovered during design time using
the MetadataService service. |
checkArgument, copy, copy, getDescription, getModelProperties, getModelProperty, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription
getModelProperties, getModelProperty
public ImmutableOutputModel(String description, MetadataType type, boolean hasDynamicType, Set<ModelProperty> modelProperties)
description
- the output's descriptiontype
- the output's MetadataType
. Cannot be null
hasDynamicType
- if the given type
is of dynamic kind and has to be discovered during design timemodelProperties
- A Set
of custom properties which extend this modelpublic MetadataType getType()
Typed
MetadataType
of the Typed
component.getType
in interface Typed
null
MetadataType
public boolean hasDynamicType()
Typed
true
if the type of the Component
is
of dynamic kind, and has to be discovered during design time using
the MetadataService
service.hasDynamicType
in interface Typed
true
if this
element type is of dynamic kindCopyright © 2018. All rights reserved.