public class IndexSchemaList
extends exa.bee.config.Versioned
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.util.List<IndexSchema> |
indexSchema |
Constructor and Description |
---|
IndexSchemaList() |
IndexSchemaList(IndexSchemaList o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this IndexSchemaList.
|
static IndexSchemaList |
fromString(java.lang.String s)
String representation of this IndexSchemaList.
|
java.util.List<IndexSchema> |
getIndexSchema() |
java.util.Map<java.lang.String,IndexSchema> |
getIndexSchemaAsMap()
Get the map of IndexSchema, indexed by name
|
IndexSchema |
getIndexSchemaByName(java.lang.String _lookup)
Get the IndexSchema for which the name matches _lookup
|
IndexSchemaList |
makeCopy()
Creates and returns a deep copy of this IndexSchemaList.
|
static IndexSchemaList |
readFrom(java.io.InputStream is)
Read this IndexSchemaList from an XML fragment.
|
boolean |
removeIndexSchemaByName(java.lang.String _lookup)
Removes the IndexSchema for which the name matches _lookup
|
java.lang.String |
toString()
String representation of this IndexSchemaList.
|
IndexSchemaList |
withIndexSchema(java.util.Collection<IndexSchema> __values) |
IndexSchemaList |
withIndexSchema(IndexSchema... __values) |
IndexSchemaList |
withVersion(long version) |
IndexSchemaList |
withVersion(java.lang.Long version) |
void |
writeTo(java.io.OutputStream os)
Write this IndexSchemaList as an XML fragment
|
public java.util.List<IndexSchema> indexSchema
public IndexSchemaList()
public IndexSchemaList(IndexSchemaList o)
public IndexSchemaList withVersion(long version)
withVersion
in class exa.bee.config.Versioned
public IndexSchemaList withVersion(java.lang.Long version)
withVersion
in class exa.bee.config.Versioned
public java.util.List<IndexSchema> getIndexSchema()
public IndexSchema getIndexSchemaByName(java.lang.String _lookup)
public java.util.Map<java.lang.String,IndexSchema> getIndexSchemaAsMap()
public boolean removeIndexSchemaByName(java.lang.String _lookup)
public IndexSchemaList withIndexSchema(IndexSchema... __values)
public IndexSchemaList withIndexSchema(java.util.Collection<IndexSchema> __values)
public IndexSchemaList makeCopy()
makeCopy
in class exa.bee.config.Versioned
public static IndexSchemaList 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
writeTo
in class exa.bee.config.Versioned
javax.xml.bind.JAXBException
java.io.IOException
public static IndexSchemaList 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 exa.bee.config.Versioned
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class exa.bee.config.Versioned
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.