public class DataModelList
extends exa.bee.config.Versioned
implements com.exalead.util.Checkable, java.io.Serializable
Constructor and Description |
---|
DataModelList() |
DataModelList(DataModelList o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this DataModelList.
|
static DataModelList |
fromString(java.lang.String s)
String representation of this DataModelList.
|
java.util.List<DataModel> |
getDataModel() |
java.util.Map<java.lang.String,DataModel> |
getDataModelAsMap()
Get the map of DataModel, indexed by name
|
DataModel |
getDataModelByName(java.lang.String _lookup)
Get the DataModel for which the name matches _lookup
|
DataModelList |
makeCopy()
Creates and returns a deep copy of this DataModelList.
|
static DataModelList |
readFrom(java.io.InputStream is)
Read this DataModelList from an XML fragment.
|
boolean |
removeDataModelByName(java.lang.String _lookup)
Removes the DataModel for which the name matches _lookup
|
java.lang.String |
toString()
String representation of this DataModelList.
|
DataModelList |
withDataModel(java.util.Collection<DataModel> __values) |
DataModelList |
withDataModel(DataModel... __values) |
DataModelList |
withVersion(long version) |
DataModelList |
withVersion(java.lang.Long version) |
void |
writeTo(java.io.OutputStream os)
Write this DataModelList as an XML fragment
|
public java.util.List<DataModel> dataModel
public DataModelList()
public DataModelList(DataModelList o)
public DataModelList withVersion(long version)
withVersion
in class exa.bee.config.Versioned
public DataModelList withVersion(java.lang.Long version)
withVersion
in class exa.bee.config.Versioned
public java.util.List<DataModel> getDataModel()
public DataModel getDataModelByName(java.lang.String _lookup)
public java.util.Map<java.lang.String,DataModel> getDataModelAsMap()
public boolean removeDataModelByName(java.lang.String _lookup)
public DataModelList withDataModel(DataModel... __values)
public DataModelList withDataModel(java.util.Collection<DataModel> __values)
public DataModelList makeCopy()
makeCopy
in class exa.bee.config.Versioned
public static DataModelList 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 DataModelList 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.