cairis/data/AssetDAO.py
def simplify(self, asset):
    """
    Simplifies the Asset object by removing the environment properties
    :param asset: The Asset to simplify
    :type asset: Asset
    :return: The simplified Asset
    :rtype: Asset
    """
    assert isinstance(asset, Asset)
    del asset.theId
    asset.theInterfaces = self.convert_ifs(real_ifs=asset.theInterfaces)
    asset.theEnvironmentProperties = self.convert_props(real_props=asset.theEnvironmentProperties)
    del asset.theEnvironmentDictionary
    del asset.theAssetPropertyDictionary
    return asset

    Simplifies the Asset object by removing the environment properties
    :param asset: The Asset to simplify
    :type asset: Asset
    :return: The simplified Asset
    :rtype: Asset
    
Simplifies the Asset object by removing the environment properties
Simplifies the Asset object by removing the environment properties
def simplify(self, asset):
    assert isinstance(asset, Asset)
    del asset.theId
    asset.theInterfaces = self.convert_ifs(real_ifs=asset.theInterfaces)
    asset.theEnvironmentProperties = self.convert_props(real_props=asset.theEnvironmentProperties)
    del asset.theEnvironmentDictionary
    del asset.theAssetPropertyDictionary
    return asset
def simplify ( self , asset ) : assert isinstance ( asset , Asset ) del asset . theId asset . theInterfaces = self . convert_ifs ( real_ifs = asset . theInterfaces ) asset . theEnvironmentProperties = self . convert_props ( real_props = asset . theEnvironmentProperties ) del asset . theEnvironmentDictionary del asset . theAssetPropertyDictionary return asset
Simplifies the Asset object by removing the environment properties
Simplifies the Asset object by removing the environment properties
"""
    Simplifies the Asset object by removing the environment properties
    :param asset: The Asset to simplify
    :type asset: Asset
    :return: The simplified Asset
    :rtype: Asset
    """
The simplified Asset
The simplified Asset
Asset
self
asset
The Asset to simplify
The Asset to simplify