Unified Inventory Management (Communications Industry) (MOSC)

MOSC Banner

Characteristics value not updated from ruleset.

Hi ,

I am trying to update the characteristics of CustomNetworkAddress entity from ruleset.
We are using below code to update it


HashSet<CustomNetworkAddressCharacteristic> cnaCharList = new HashSet<CustomNetworkAddressCharacteristic>();
cnaCharList = supernet.getCharacteristics();


for(CustomNetworkAddressCharacteristic cnaChar: cnaCharList)
{
 if("ABC".equals(cnaChar.getName()))
 {
  cnaChar.setValue("70");
 }
 
}
CustomNetworkAddressManager custMgr = InventoryHelper.makeCustomNetworkAddressManager();

Collection<CustomNetworkAddress> custNetAddrObject = new ArrayList<CustomNetworkAddress>();     
custNetAddrObject.add(supernet);

custMgr.updateCustomNetworkAddress(custNetAddrObject);

where
supernet is the object of CustomNetworkAddress entity.
ABC characteristics takes alphanumeric value. and have no constraint set in the studio.


The issue is that the characteristics are not updated.

Best Regards

 

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center