Class ConnectedEntity


  • public final class ConnectedEntity
    extends Object
    Expansion result connected entities.
    • Constructor Detail

      • ConnectedEntity

        public ConnectedEntity()
    • Method Detail

      • targetEntityId

        public String targetEntityId()
        Get the targetEntityId property: Entity Id of the connected entity.
        Returns:
        the targetEntityId value.
      • withTargetEntityId

        public ConnectedEntity withTargetEntityId​(String targetEntityId)
        Set the targetEntityId property: Entity Id of the connected entity.
        Parameters:
        targetEntityId - the targetEntityId value to set.
        Returns:
        the ConnectedEntity object itself.
      • additionalData

        public Object additionalData()
        Get the additionalData property: key-value pairs for a connected entity mapping.
        Returns:
        the additionalData value.
      • withAdditionalData

        public ConnectedEntity withAdditionalData​(Object additionalData)
        Set the additionalData property: key-value pairs for a connected entity mapping.
        Parameters:
        additionalData - the additionalData value to set.
        Returns:
        the ConnectedEntity object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.