public class ComponentDescription
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
author |
java.lang.String |
componentClassId |
java.lang.String |
copyright |
java.lang.String |
description |
java.lang.String |
label |
java.lang.String |
pluginName |
Constructor and Description |
---|
ComponentDescription() |
ComponentDescription(ComponentDescription o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this ComponentDescription.
|
static ComponentDescription |
fromString(java.lang.String s)
String representation of this ComponentDescription.
|
java.lang.String |
getAuthor()
Author of the plugin, if available
|
java.lang.String |
getComponentClassId()
Class of the component
|
java.lang.String |
getCopyright()
Copyright of the plugin, if available
|
java.lang.String |
getDescription()
Description of the component, if available
|
java.lang.String |
getLabel()
Label of the component, if available
|
java.lang.String |
getPluginName()
Name of the plugin in which this component is located
|
ComponentDescription |
makeCopy()
Creates and returns a deep copy of this ComponentDescription.
|
static ComponentDescription |
readFrom(java.io.InputStream is)
Read this ComponentDescription from an XML fragment.
|
void |
setAuthor(java.lang.String author)
Author of the plugin, if available
|
void |
setComponentClassId(java.lang.String componentClassId)
Class of the component
|
void |
setCopyright(java.lang.String copyright)
Copyright of the plugin, if available
|
void |
setDescription(java.lang.String description)
Description of the component, if available
|
void |
setLabel(java.lang.String label)
Label of the component, if available
|
void |
setPluginName(java.lang.String pluginName)
Name of the plugin in which this component is located
|
java.lang.String |
toString()
String representation of this ComponentDescription.
|
ComponentDescription |
withAuthor(java.lang.String author) |
ComponentDescription |
withComponentClassId(java.lang.String componentClassId) |
ComponentDescription |
withCopyright(java.lang.String copyright) |
ComponentDescription |
withDescription(java.lang.String description) |
ComponentDescription |
withLabel(java.lang.String label) |
ComponentDescription |
withPluginName(java.lang.String pluginName) |
void |
writeTo(java.io.OutputStream os)
Write this ComponentDescription as an XML fragment
|
public java.lang.String componentClassId
public java.lang.String pluginName
public java.lang.String label
public java.lang.String description
public java.lang.String author
public java.lang.String copyright
public ComponentDescription()
public ComponentDescription(ComponentDescription o)
public void setComponentClassId(java.lang.String componentClassId)
public java.lang.String getComponentClassId()
public ComponentDescription withComponentClassId(java.lang.String componentClassId)
public void setPluginName(java.lang.String pluginName)
public java.lang.String getPluginName()
public ComponentDescription withPluginName(java.lang.String pluginName)
public void setLabel(java.lang.String label)
public java.lang.String getLabel()
public ComponentDescription withLabel(java.lang.String label)
public void setDescription(java.lang.String description)
public java.lang.String getDescription()
public ComponentDescription withDescription(java.lang.String description)
public void setAuthor(java.lang.String author)
public java.lang.String getAuthor()
public ComponentDescription withAuthor(java.lang.String author)
public void setCopyright(java.lang.String copyright)
public java.lang.String getCopyright()
public ComponentDescription withCopyright(java.lang.String copyright)
public ComponentDescription makeCopy()
public static ComponentDescription readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static ComponentDescription fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.