public class ComponentInfo
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ComponentInfo.DefaultConfig |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
classId |
java.util.List<ComponentIntrospectionQuery> |
componentIntrospectionQuery |
static boolean |
DEFAULT_INTROSPECTABLE |
protected ComponentInfo.DefaultConfig |
defaultConfig |
com.exalead.mercury.component.config.descriptor.Descriptor |
descriptor |
boolean |
introspectable |
Constructor and Description |
---|
ComponentInfo() |
ComponentInfo(ComponentInfo o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this ComponentInfo.
|
static ComponentInfo |
fromString(java.lang.String s)
String representation of this ComponentInfo.
|
java.lang.String |
getClassId() |
java.util.List<ComponentIntrospectionQuery> |
getComponentIntrospectionQuery() |
java.util.Map<java.lang.String,ComponentIntrospectionQuery> |
getComponentIntrospectionQueryAsMap()
Get the map of ComponentIntrospectionQuery, indexed by classId
|
ComponentIntrospectionQuery |
getComponentIntrospectionQueryByClassId(java.lang.String _lookup)
Get the ComponentIntrospectionQuery for which the classId matches _lookup
|
ComponentInfo.DefaultConfig |
getDefaultConfig() |
com.exalead.mercury.component.config.descriptor.Descriptor |
getDescriptor()
Gets the config descriptor
|
boolean |
isIntrospectable() |
ComponentInfo |
makeCopy()
Creates and returns a deep copy of this ComponentInfo.
|
static ComponentInfo |
readFrom(java.io.InputStream is)
Read this ComponentInfo from an XML fragment.
|
boolean |
removeComponentIntrospectionQueryByClassId(java.lang.String _lookup)
Removes the ComponentIntrospectionQuery for which the classId matches _lookup
|
void |
setClassId(java.lang.String classId) |
void |
setDefaultConfig(ComponentInfo.DefaultConfig __value) |
void |
setDescriptor(com.exalead.mercury.component.config.descriptor.Descriptor descriptor)
Gets the config descriptor
|
void |
setIntrospectable(boolean introspectable) |
java.lang.String |
toString()
String representation of this ComponentInfo.
|
ComponentInfo |
withClassId(java.lang.String classId) |
ComponentInfo |
withComponentIntrospectionQuery(java.util.Collection<ComponentIntrospectionQuery> __values) |
ComponentInfo |
withComponentIntrospectionQuery(ComponentIntrospectionQuery... __values) |
ComponentInfo |
withDefaultConfig(java.util.Collection<KeyValue> __values) |
ComponentInfo |
withDefaultConfig(ComponentInfo.DefaultConfig __value) |
ComponentInfo |
withDefaultConfig(KeyValue... __values) |
ComponentInfo |
withDescriptor(com.exalead.mercury.component.config.descriptor.Descriptor descriptor) |
ComponentInfo |
withIntrospectable(boolean introspectable) |
ComponentInfo |
withIntrospectable(java.lang.Boolean introspectable) |
void |
writeTo(java.io.OutputStream os)
Write this ComponentInfo as an XML fragment
|
public java.lang.String classId
protected ComponentInfo.DefaultConfig defaultConfig
public com.exalead.mercury.component.config.descriptor.Descriptor descriptor
public boolean introspectable
public static final boolean DEFAULT_INTROSPECTABLE
public java.util.List<ComponentIntrospectionQuery> componentIntrospectionQuery
public ComponentInfo()
public ComponentInfo(ComponentInfo o)
public void setClassId(java.lang.String classId)
public java.lang.String getClassId()
public ComponentInfo withClassId(java.lang.String classId)
public ComponentInfo.DefaultConfig getDefaultConfig()
public void setDefaultConfig(ComponentInfo.DefaultConfig __value)
public ComponentInfo withDefaultConfig(KeyValue... __values)
public ComponentInfo withDefaultConfig(java.util.Collection<KeyValue> __values)
public ComponentInfo withDefaultConfig(ComponentInfo.DefaultConfig __value)
public void setDescriptor(com.exalead.mercury.component.config.descriptor.Descriptor descriptor)
public com.exalead.mercury.component.config.descriptor.Descriptor getDescriptor()
public ComponentInfo withDescriptor(com.exalead.mercury.component.config.descriptor.Descriptor descriptor)
public void setIntrospectable(boolean introspectable)
public boolean isIntrospectable()
public ComponentInfo withIntrospectable(boolean introspectable)
public ComponentInfo withIntrospectable(java.lang.Boolean introspectable)
public java.util.List<ComponentIntrospectionQuery> getComponentIntrospectionQuery()
public ComponentIntrospectionQuery getComponentIntrospectionQueryByClassId(java.lang.String _lookup)
public java.util.Map<java.lang.String,ComponentIntrospectionQuery> getComponentIntrospectionQueryAsMap()
public boolean removeComponentIntrospectionQueryByClassId(java.lang.String _lookup)
public ComponentInfo withComponentIntrospectionQuery(ComponentIntrospectionQuery... __values)
public ComponentInfo withComponentIntrospectionQuery(java.util.Collection<ComponentIntrospectionQuery> __values)
public ComponentInfo makeCopy()
public static ComponentInfo 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 ComponentInfo 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.