Package de.xima.fc.mdl.plugin
Class PluginMeta
- java.lang.Object
- 
- de.xima.fc.mdl.plugin.PluginMeta
 
- 
- All Implemented Interfaces:
- Serializable
 
 @Immutable public final class PluginMeta extends Object implements Serializable A target plugin that is to be updated. Contains the name of an updated plugin, with the plugin's ID and its name. Instances of this class are equated bygetEntityId().- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description PluginMeta(PluginID pluginId, String technicalName, String localizedName, long entityId)PluginMeta(PluginID pluginId, String technicalName, String localizedName, WorkspaceScope scope, long entityId)Creates a new POJO with the given data.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)longgetEntityId()Get the ID of theplugin entitythat stores the plugin.StringgetLocalizedName()PluginIDgetPluginId()WorkspaceScopegetScope()StringgetTechnicalName()inthashCode()booleanisHasEntity()StringtoString()
 
- 
- 
- 
Constructor Detail- 
PluginMetapublic PluginMeta(PluginID pluginId, String technicalName, String localizedName, WorkspaceScope scope, long entityId) Creates a new POJO with the given data.- Parameters:
- pluginId- The ID of the plugin.
- technicalName- The technical name of the plugin, if known, or the plugin ID otherwise.
- localizedName- The localized name of the plugin, if known.
- scope- The scope of the plugin, if known.
- entityId- ID of the corresponding plugin entity, if an existing plugin, or- -1otherwise.
 
 
- 
 - 
Method Detail- 
getEntityIdpublic long getEntityId() Get the ID of theplugin entitythat stores the plugin. If not an existing plugin, returns-1.- Returns:
- Database ID of the corresponding plugin entity.
 
 - 
getTechnicalNamepublic String getTechnicalName() - Returns:
- The technical name of the plugin, if known, or getPluginId()otherwise.
 
 - 
getLocalizedNamepublic String getLocalizedName() - Returns:
- The localized name of the plugin, if known, or same as getTechnicalName()otherwise.
 
 - 
getScopepublic WorkspaceScope getScope() - Returns:
- The scope of the plugin, if known.
 
 - 
getPluginIdpublic PluginID getPluginId() - Returns:
- The ID of the plugin.
 
 - 
isHasEntitypublic boolean isHasEntity() - Returns:
- Whether a plugin entity exists.
 
 
- 
 
-